What happens in the bitcoin network when two miners solve a block at the same time?
Both chains are valid untill miner nbr 3 adds a valid block to one of the chains, The longest one is the accepted ine by the network.
What is a stale block?
It is a block dropped from the blockchain and returned to the mempool.
How do stale blocks occur?
If 2 miners solving the puzzle at the same time, both chains are valid till miner nbr 3 adds the next valid block to one of the chains. The longest one validated by the network goes.
Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
To make sure that your transaction not is dropped from the chain, you wait for 6 more blocks to be sure that your transaction (block) stays in the chain