Homework on Stale Blocks - Questions
** 1. What happens in the bitcoin network when two miners solve a block at the same time?**
The chain forks temporarily until the longest chain win and gets fully propagated in the network.
The blocks that are not part of the longest chain gets rejected. They are called stale or orphan blocks.
** 2. What is a stale block?**
A stale block or an orphan block is a block that is rejected by the network because it’s not part of the longest chain.
** 3. How do stale blocks occur?**
A stale block occur when the miners solve a block at the same time and are competing for the network to validate them in the longest chain of blocks. When the network is fully synchronized with the longest chain data and detects that some blocks are not part of the that chain the network ignores them and the transactions from the stale block returns to the mempool.
** 4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?**
To prevent the transaction to occur before the network validates your block as part of the longest chain.