Specifically I would like to know what messages are sent between nodes in order to figure out total processing power of the network and therefore difficulty. How is the new difficulty value spread through the network and what if nodes do not agree on it?
Asked
Active
Viewed 280 times
2
-
Possible duplicate of http://bitcoin.stackexchange.com/questions/5838/how-is-difficulty-calculated. – Meni Rosenfeld Sep 10 '13 at 15:13
1 Answers
3
There is no coordination done specifically for difficulty calculations. The difficulty is computed deterministically based on the data in the blockchain (shared among all nodes), specifically the timestamps of blocks.

Meni Rosenfeld
- 19,700
- 37
- 70