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

Filter by
Sorted by
Tagged with
20
votes
2answers
32k views

Where can I find a description of the CryptoNight hash algorithm?

Where can I find a description of the CryptoNight hash algorithm? Both a thorough and ELI5 description of the hash algorithm would be appreciated
1
vote
1answer
433 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, ...
15
votes
3answers
42k views

Is it better to mine with a CPU or GPU

"The proof-of-work algorithm, CryptoNight, is AES-intensive and "memory heavy", which significantly reduces the advantage of GPU over CPU." https://en.wikipedia.org/wiki/Monero_(cryptocurrency) ...
19
votes
6answers
34k views

Is Monero amenable to ASIC mining?

Is Monero ASIC resistant? If not, are there already people out there running on ASICs?
4
votes
1answer
158 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 ...
11
votes
1answer
296 views

Which reasons were discussed for potentially changing the proof-of-work algorithm?

Which reasons were discussed for potentially changing the proof-of-work algorithm to something else in the future (Cuckoo cycle in particular)?
3
votes
1answer
373 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
353 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 ...
4
votes
2answers
855 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 ...
4
votes
1answer
697 views

Is Monero susceptible to botnets?

When reading up on CryptoNote, something struck me on the wikipedia page. From wikipedia (emphasis mine) CryptoNight is a proof-of-work algorithm that mixes graphics processing unit (GPU) and ...
2
votes
1answer
61 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 ...