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:
Sean Gilligan 2021-09-06 15:55:56 -07:00 committed by Andreas Schildbach
parent 6412db3319
commit 0cb686481f

View File

@ -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 */