Open shuijian-xu opened 4 years ago
The difficulty of Bitcoin at the genesis block was 1. This gives us context for how difficult mainnet currently is. The difficulty can be thought of as how much more difficult mining is now than it was at the start.
To make different targets easier to compare, the concept of difficulty was born. The trick is that difficulty is inversely proportional to the target, to make comparisons easier.
The specific formula is:
difficulty=0xffff×256^(0x1d–3) ∕ target