mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
difficulty: fix misleading comment
This commit is contained in:
parent
ab594cfee9
commit
c8640a3d74
1 changed files with 2 additions and 2 deletions
|
@ -42,9 +42,9 @@ namespace cryptonote
|
|||
/**
|
||||
* @brief checks if a hash fits the given difficulty
|
||||
*
|
||||
* The hash passes if (hash * difficulty) < 2^192.
|
||||
* The hash passes if (hash * difficulty) < 2^256.
|
||||
* Phrased differently, if (hash * difficulty) fits without overflow into
|
||||
* the least significant 192 bits of the 256 bit multiplication result.
|
||||
* the least significant 256 bits of the 320 bit multiplication result.
|
||||
*
|
||||
* @param hash the hash to check
|
||||
* @param difficulty the difficulty to check against
|
||||
|
|
Loading…
Reference in a new issue