So, I was looking into chain reorganization, and it’s pretty interesting. Basically, a reorg happens when your node gets blocks that belong to a new longest chain. Your node basically forgets the blocks from the previous longest chain and switches to the new one. It’s how nodes reach a consensus on the blockchain version. The longest chain wins, right?
Grasping Chain Reorganization and What Defines the Best Chain in Bitcoin
1 reply 285 views
You kinda nailed it there. The 'best chain' really just means the longest valid one, but it’s also about difficulty. So, it’s not just a simple block count thing. If two blocks pop up at the same time, like block A and block B, the one with the higher difficulty gets to be the favorite. The other one becomes stale. Got it?
?Reply
Sign in to reply to this topic
Related topics
- Ensuring Consensus: How Different Bitcoin Implementations Keep in Sync 4
- Could a Formal Bitcoin Spec Fix Consensus Issues? 2
- StarkWare CEO wants Bitcoin to have 4% yearly inflation instead of the 21M cap 2
- Outbound Connections on Bitcoin Nodes What's the Deal? 6
- Can Private Keys Exceed N in Bitcoin? 7
- A New Approach to Bitcoin Tools 16