Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cryptonight]

CryptoNight is a proof-of-work algorithm that mixes graphics processing unit (GPU) and central processing unit (CPU) mining to create a system resistant to both application-specific integrated circuits (ASICs) and fast memory-on-chip devices

1
vote
1answer
160 views

What are the main advantages / disadvantages between proposed RandomX to ProgPoW?

Ethereum developers recently decided to fork off Ethash ASICs like Monero did before. However, Monero changes its CryptoNight mining algorithm only slightly every six months until a more robust ...
2
votes
2answers
135 views

Why does the Monero difficulty increase? [duplicate]

Monero's difficulty has soared a lot in the last days and the trend seems to be confirmed. Why did it happen? What is the technical reason?
0
votes
3answers
59 views

CryptoNight heavy vs CryptoNight light

Which version of the CryptoNight algorithm can we use for ASIC resistance. My understanding is that CryptoNight v7 is not ASIC resistant. Can you please explain the algorithm versions. Thanks in ...
2
votes
2answers
53 views

What is the difference between v7 and v8?

Only the version changes in block.major_version? const int cn_variant = b.major_version >= 7 ? b.major_version - 6 : 0; crypto::cn_slow_hash(bd.data(), bd.size(), res, cn_variant); Am I right? ...
2
votes
1answer
25 views

Where and how to start to understand Monero?

I'm a newbie and I would like to know more about Monero and the technology behind it. What is a good starting point to learn more about Monero? Website, wikis, books? Thank you so much for answers.
0
votes
1answer
25 views

Can't seem to reconstruct hashing blob for old block

I'm trying to re-construct the "hashing blob" for an old block and calculate the correct hash to validate some code, but I can't seem to get the correct results. I've confirmed (via unit tests against ...
0
votes
1answer
27 views

How to switch the algorithm according to hard fork height?

When a hard fork is scheduled, how does the program recognize the hard fork? And how to make the whole network recognize the new algorithm?
0
votes
1answer
47 views

Why does Monero use epee in the crypto module?

Is there any obvious gain to using epee in the crypto module? I don't know why this code is inside crypto instead of cryptonote: inline std::ostream &operator <<(std::ostream &o, ...
4
votes
1answer
62 views

CryptoNight detail. Why this kind of multiplication?

The Cryptonight description by the CryptoNote team states that The 8byte_mul function, however, uses only the first 8 bytes of each argument, which are interpreted as unsigned 64-bit little-...
0
votes
1answer
48 views

Would a long-time block target be annoying?

Lets imagen for a second that I have an idea for a really unique coin and not just a clone ... If I created this coin to have an average new block-time of 1 day would it need to give more coins for a ...
-1
votes
1answer
80 views

Hardening a mining pool

I have setup a mining pool for a smaller project that uses cryptonightv7 I have been running into problems with ddos attacks when other people started launching other mining pools. At first it was ...
4
votes
1answer
101 views

How is Keccak calculated in Monero?

I am reading the monero's implementation of Keccak (used as first part of slow_hash) in src/crypto/keccak.c I have found that it is a Keccak-256 (with b=1600, c=512, r=1088) and "output" of 1600 bits ...
0
votes
1answer
139 views

CryptoNight can mine monero?

Thanks in advance for all answers at first I am new in this business. I want to buy Baikal N240 which has Algorithm CryptoNight and CryptoNight-lite. I want Mine Monero. My question is, can we ...
1
vote
1answer
107 views

Why low hash rates doing SHA/CryptoNight algorithm?

I have benn dealing with crypto currencies for the last few days(especially on Raspberry Pis) and now I'm wondering how a Raspberry can have such a bad hashrate(1-20H/s)... Mining is just doing SHA/...
1
vote
1answer
83 views

How does nicehash perform share validation?

I'm talking about two services: NiceHash and MiningRentals and CryptonightV7 algorithm, for example. Let's suppose someone trying to fool one of them and: Miner (seller) tries to fool pool (buyer) ...
0
votes
1answer
125 views

Does anyone have test data that illustrates the CryptoNight 7 algorithm?

With the new CryptoNight 7 algorithm Monero introduced back in April, does anyone have an example of a data blob and a nonce that successfully hashes the block? I'm trying to figure out how to test ...
0
votes
1answer
93 views

Anyone know if CoinHive uses the new Monero hashing algorithm?

When I visit https://coinhive.com/ , I see a "Start Mining" button at the center of their page. I know recently Monero changed its hashing algorithm to be CryptoNightV7. Does coinhive use their new ...
0
votes
1answer
258 views

Implementing Cryptonightv1 PoW algo change but miners are able to mine with both Cryptonightv0 or Cryptonightv1 now

I am modifying a cryptonote to transition over to PoW algo cryptonightv1 from cryptonightv0 and I am having a weird issue that I can't figure out...I'm starting to pull out my hair over this. I've ...
0
votes
1answer
303 views

Can anyone explain the working of CryptoNight?

I went through this. And I could not comprehend well. For example, in SHA-256, it takes any type of input and gives a 256-bit output. And if we add a random number as a tail in the input, the output ...
1
vote
1answer
35 views

Can you only allow certain miners on a cryptonote blockchain?

I am creating my own Cryptonote coin for a specific, business need. Can I only allow certain IPs to mine on it?
2
votes
1answer
1k views

Are Cryptonight lite and Cryptonight lite v1 the same?

Are Cryptonight lite and Cryptonight lite v1 the same?
1
vote
0answers
873 views

Cryptonight V7 mining issues

I'm having a bit of problem here. As you all know, Cryptonight V7 is more profitable than v6 after the monero hardfork, I started trying to mine with this algo in Nicehash.But I got an error. The ...
0
votes
1answer
81 views

is the Bitmain X3 compatible with Monero

Will Bitmain X3 be able to mine Monero?
0
votes
1answer
614 views

Does Monero still use the Cryptonight algorithm since the fork?

Ok, I have read about the Lithium Luna release that's supposed to be ASIC resistant. However, I'm unclear about whether Monero is now using a new hash algorithm. Is Monero still using its ...
0
votes
0answers
79 views

Can I rent ASIC Hashing Power on a Standard Mining Rig?

So I got to thinking, since Monero is going to be hard-forking pretty soon and is going to make the new Antminer X3s pretty obsolete before they even start their life cycle, and I want to increase my ...
0
votes
3answers
375 views

Is there a Javascript implementation of the CryptoNight algorithm?

Before I seek to write one of my own, I wanted to see if there's a CryptoNight Javascript algorithm anywhere out there. I found the CryptoNoter project, but it only contains an obfuscated binary file ...
1
vote
0answers
491 views

Sapphire RX 550, differences in models and consequences on hashrate

I'm new to mining, and I wanted to use Sapphire RX 550 GPUs to build a CryptoNight rig after reading a couple posts on the Internet about them, for instance: How To Get 470 h/s On CryptoNote ...
1
vote
2answers
305 views

How to validate cryptonight result?

I have a XMR proxy and check results with the job target before sending it to real pool. If I use mining software with the cryptonight-lite algorithm, my proxy accepts these hashes. Please help me to ...
0
votes
1answer
65 views

Wanna Use this library for a small project

Hope someones here, I wanna ask if what are the parameters in this code, in line 315: void cryptonight_hash(void* output, const void* input, const int aes_ni_supported) { struct cryptonight_ctx *...
0
votes
0answers
522 views

How is the mining difficulty calculated?

For bitcoin it would be D = Hn / (2^256 / Mt / t) Where: Hn = Net Hash, Mt = Max_target and t = time per block Is this the same for the CryptoNight algorithm, or is it totally different? Note: ...
1
vote
0answers
328 views

Error message: failed to allocated device memory for long state

Trying to execute ccminer-cryptonight through powershell and finally hit an impasse. Any ideas? edit:attempting to nvidia mine using 1080ti Error msg
-1
votes
1answer
3k views

Best new cryptocurrencies to mine using CPU [closed]

I’ve been mining LiteCoins since it was worth around £40. Now it’s worth £200 pounds and I have less than 0.01 LTC and I cannot withdraw any of what I earned from my pool. This balance is very low ...
1
vote
2answers
1k views

cpuminer-multi error when mining cryptonight on Linux

I have just set up cpuminer-multi on my Raspberry Pi B+, my aim is to mine a cryptonight coin called Bytecoin. Instead of connecting the mining Pi to the pool, I will be connecting the mining Pi to a ...
1
vote
1answer
3k views

Cryptonight mining on Raspberry Pi

Recently I found out about cryptonight algorithms, Bytecoin in specific. I have about 20 Raspberry Pi’s here and I would like to know if cryptonight mining is possible on ARM processors. I am also ...
3
votes
1answer
901 views

CryptoNight Algorithm Keccak1600?

I've looked at this file https://github.com/monero-project/monero/blob/master/src/crypto/slow-hash.c#L543 What does it mean when it says " CryptoNight Step 1: Use Keccak1600 to initialize the '...
4
votes
1answer
406 views

What are the differences between the slow hash, fast hash, and tree hash on the monero github?

Additionally, if I wanted to put together my own implementation of the Monero CryptoNight PoW, specifically for mining, and was using one of those (with the corresponding tests on GitHub) to validate ...
5
votes
2answers
740 views

Where can I find some test inputs and outputs for the CryptoNight (Monero PoW) hash algorithm?

I'm interested in cobbling together my own implementation, but in order to validate it, I need to find some valid inputs/outputs (4 minimum, i.e. one that goes through the groestl path, one that goes ...
5
votes
1answer
1k views

Monero Pool job contents, blob length

I am trying to understand the contents, their meaning and their volatility of the job we receive from Monero pool. For example data from pool: {"id":1,"jsonrpc":"2.0","error":null,"result":{"id":"...
2
votes
2answers
774 views

connecting wolf`s miner to monero daemon

I want to start solo-gpu mining with wolf`s amd miner. in the config file i put daemon+tcp://localhost:18781 and so far its connecting to the daemon but I'm getting following message: "Setting up GPU(...
6
votes
2answers
420 views

Monero Hash, how does it work, C++ basisc

I am trying to understand xmr-stak miner program. I have understood most of it but having hard time visualizing some pointer manipulation in below code. Its been over 10 years for me to go through any ...
3
votes
1answer
3k views

Monero CPU mining, how much memory to include in a new build

I would like to try Monero CPU mining on a new Linux box I would like to build. More memory the better for CryptoNight algorithm, right? Is there an upper limit at a point where more memory is not ...
3
votes
1answer
2k views

How can I validate a cryptonight algorithm implementation?

Is there an easy way to validate an implementation of the cryptonight hash function? I wrote an implementation just to explore the features of various hash functions, but I'd like to validate that I'm ...
6
votes
1answer
390 views

Is CryptoNight the hash function which plays the role of the “random oracle”?

Is CryptoNight the hash function which plays the role of the "random oracle" in the random oracle model under which certain properties of CryptoNote are mathematically proven in the original paper? Or ...
5
votes
1answer
313 views

Cryptonote SHA3 bigger than 64byte? (Scratchpad Initialization)

The cryptonote whitepaper says First, the input is hashed using Keccak [KECCAK] with parameters b = 1600 and c = 512. [..] That's nothing else as hashing the input with SHA3. The size of a ...
2
votes
3answers
4k views

How to mine with NVidia GeForce GTX 560Ti on Linux?

The questions is in title. Been surfing a bit, and I'm not aware of any software which allows mining with Nvidia GPU on Linux.
2
votes
4answers
2k views

Would this be a good hardware setup for Monero mining?

I'm completely new to mining Monero but I want to give it a try and get more knowledge of hardware. So I got a good price for an Asrock D1800M. It is a BGA Celeron and the system should use around 20W ...
9
votes
1answer
877 views

How does CryptoNight “depend on all the previous blocks”?

Originally, I thought the CryptoNight puzzle was similar to the SHA2 puzzle, with a more exotic hash function replacing SHA2. In other words, the puzzle was essentially H(prev||nonce) < diff, but ...
11
votes
3answers
1k views

Energy consumed to protect the Monero network

Based on typical Monero mining equipment used today, approximately how many Kilowatt-hours (kWh) of electricity are consumed each day in by computers running the Monero cryptonight PoW mining ...
4
votes
1answer
343 views

Keccak vs Keccak-f permutation in cns008

Keccak is mentioned in cns008 (the cryptonight hash description) in two ways: First in section 3 (Scratchpad Initialization) as Keccak, and another time in section 5 (Result Calculation) as Keccak-f (...
5
votes
1answer
4k views

How significant is the number of threads when mining? (I7-4790K)

I'm currently mining XMR on a dedicated server that has an Intel I7-4790K CPU. It has 4 cores/8 threads, and 8 MB of L3 cache. I'm using cpuminer-multi. This is a full node with the monero daemon ...