Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
374 views

where in the source code is the the proof of work checking the blockheader hash and nonce?

Where in the source code do we check whether hash(blockheader*nonce) < Difficulty In fact, the line I found is as follows: https://github.com/bitcoin/bitcoin/blob/v0.17.0.1/src/pow.cpp#L87 My ...
user92452's user avatar
1 vote
1 answer
357 views

Bitcoin difficulty re targeting in case of catastrophic hashrate drop?

I do understand that the mining difficulty changes every 2016 blocks : next_difficulty = (previous_difficulty * 2016 * 10 minutes) / (time to mine last 2016 blocks) But how is difficulty changes if ...
CryingHippo's user avatar