|
|
|
@ -712,7 +712,7 @@ until the desired hash result appears by chance.
|
|
|
|
|
|
|
|
|
|
==== Proof-of-Work Algorithm
|
|
|
|
|
|
|
|
|
|
A hash algorithm takes an
|
|
|
|
|
A hash((("bitcoins", "mining", "Proof-of-Work algorithm", id="bitcoin-mining-proof")))((("mining", "Proof-of-Work algorithm", id="mining-proof")))((("hash functions", "Proof-of-Work algorithm", id="hash-proof")))((("Proof-of-Work algorithm", id="proof-mining"))) algorithm takes an
|
|
|
|
|
arbitrary-length data input and produces a fixed-length deterministic
|
|
|
|
|
result, called a _digest_. The digest is a digital commitment to the
|
|
|
|
|
input. For any specific input, the resulting digest will always be the
|
|
|
|
@ -833,7 +833,7 @@ _target_. If the hash is not less than the target, the miner will modify
|
|
|
|
|
the nonce (usually just incrementing it by one) and try again. At the
|
|
|
|
|
current difficulty in the Bitcoin network, miners have to try
|
|
|
|
|
a huge number of times before finding a nonce that results in a low
|
|
|
|
|
enough block header hash.
|
|
|
|
|
enough block((("bitcoins", "mining", "Proof-of-Work algorithm", startref="bitcoin-mining-proof")))((("mining", "Proof-of-Work algorithm", startref="mining-proof")))((("hash functions", "Proof-of-Work algorithm", startref="hash-proof")))((("Proof-of-Work algorithm", startref="proof-mining"))) header hash.
|
|
|
|
|
|
|
|
|
|
[[target_bits]]
|
|
|
|
|
==== Target Representation
|
|
|
|
|