Author

Topic: Difficulty and zeroes? (Read 756 times)

legendary
Activity: 3416
Merit: 1912
The Concierge of Crypto
October 24, 2013, 02:39:00 AM
#5
I get it now. Difficulty is currently at around 267731249.48242110, but this is derived from a 256 bit number. So the small numbers actually mean something.
staff
Activity: 4284
Merit: 8808
October 24, 2013, 01:45:16 AM
#4
Okay. So bitcoin does not use zeros. I thought it used zeros in binary or something.
No, if it did that difficulty could only change by factors of 2.
legendary
Activity: 3416
Merit: 1912
The Concierge of Crypto
October 23, 2013, 11:59:29 PM
#3
Okay. So bitcoin does not use zeros. I thought it used zeros in binary or something. Therefore, difficulty can be any number between zero and 2^256. It's not from 1 zero to 256 zeros in 256 bits.
staff
Activity: 4284
Merit: 8808
October 23, 2013, 09:13:02 PM
#2
If Bitcoin uses the number of preceding zeroes in a block (000000000000000a14da313e33fe2012b95c82ae03c58739888a440a845642f3) to set the difficulty, how is it possible for the difficulty to double or triple? Wouldn't it need to get 16 times harder because of an extra zero?
Perceptive. It doesn't.

Bitcoin doesn't use the number of zeros. Instead it converts the hash into a single big integer and requires that the value be less than a target value. The target value is adjusted every 2016 blocks as required to control the block rate and the "difficulty" number is just the ratio of the current hardness of the problem to the initial hardness.
sr. member
Activity: 350
Merit: 251
October 23, 2013, 08:03:18 PM
#1
If Bitcoin uses the number of preceding zeroes in a block (000000000000000a14da313e33fe2012b95c82ae03c58739888a440a845642f3) to set the difficulty, how is it possible for the difficulty to double or triple? Wouldn't it need to get 16 times harder because of an extra zero?
Jump to: