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
73 questions
3 votes
2 answers
2k views
What is so different about RandomX from other attempted ASIC-resistant mining algorithms?
I read that the original Cryptonight hashing algorithm was optimized for the L3 cache of a modern CPU, giving CPUs as large of an edge as possible. I've also heard that RandomX effectively turns a ...
1 vote
1 answer
189 views
Online implementation of CryptoNight/R
I'm on an adventure trying to write my own own implementation of a C CryptoNight/R hasher. I already have some working code but wanted something that could help me validate the hashes. Is there any ...
1 vote
1 answer
284 views
Cant't find out where replace the nonce to get a blob hash
I'm trying to understand the basics of mining and have a very specific question about hashing a blob. When I start a miner and capture the packets, I get a job from the pool and then the work ...
5 votes
1 answer
232 views
What PoW hashing algorithms did Monero historically use?
Originally, Monero used the Cryptonight PoW algorithm, then started modifying it to thwart ASICs getting large parts of the network hash rate. What is the timeline of these changes ?
0 votes
1 answer
414 views
Any quick way for me to test my browser's hash rate for CryptoNight v2?
I want to test the rate at which a WebAssembly miner can calculate CryptoNight v2 hashes in my Chrome web browser (or what my browser's Monero hash rate would have been as of ~May 2018). Is there an ...
4 votes
1 answer
3k views
What's the difference between the CryptoNightR and RandomX algorithms?
My understanding is that CryptoNightR randomly creates different calculations for each block, and that RandomX does the same, but using a system where any bytecode can be translated into a calculation....
0 votes
1 answer
2k views
What are the differences between Cryptonight-R and Cryptonight v4?
Monero is switching to Cryptonight variant 4 (CNv4) in March 2019. CNv4 is based on Cryptonight-R, with some modifications. What are these modifications ?
4 votes
1 answer
567 views
How is CryptoNight variant 4 increasing the CPU to ASIC performance ratio?
At block 1788000, Monero will switch PoW from CryptoNight variant 2 to variant 4. This change has two main goals: break any current CNv2 ASIC make hypothetical CNv4 ASICs perform less well compared to ...
1 vote
1 answer
69 views
Is there a written document or resource about CryptoNight v2?
I am looking for something like this: https://cryptonote.org/cns/cns008.txt It's got a detailed, written explanation and not just code. I am trying to make a miner for learning purposes so I guess ...
2 votes
1 answer
1k views
I'm trying to create a Python miner, can I get some guidance please?
I have been wondering how to make a Python Monero miner. I know about py-cryptonight, but does anyone know anything about how to actually code with it? I understand that cn_slow_hash is for mining, ...
1 vote
1 answer
387 views
What is the best Python library for hashing Cryptonight?
What is the best Python library for hashing Cryptonight hashes and building mining software?
2 votes
1 answer
795 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
2 answers
1k 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
3 answers
2k 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
2 answers
362 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? Is ...