mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-19 05:33:44 +01:00
Block: Fix JavaDoc comment on EASIEST_DIFFICULTY_TARGET
It said “half of all possible hash solutions” which led me to believe that decodeCompactBits() would extend 1’s all the way out to the least significant bit.
This commit is contained in:
parent
6412db3319
commit
0cb686481f
@ -75,7 +75,7 @@ public class Block extends Message {
|
||||
*/
|
||||
public static final int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE / 50;
|
||||
|
||||
/** A value for difficultyTarget (nBits) that allows half of all possible hash solutions. Used in unit testing. */
|
||||
/** A value for difficultyTarget (nBits) that allows (slightly less than) half of all possible hash solutions. Used in unit testing. */
|
||||
public static final long EASIEST_DIFFICULTY_TARGET = 0x207fFFFFL;
|
||||
|
||||
/** Value to use if the block height is unknown */
|
||||
|
Loading…
Reference in New Issue
Block a user