Blockchain mechanics - Test
This test checks whether you can reason about how a blockchain actually behaves, not just describe what it is. Each question puts you in a specific situation where the right answer requires applying what you learned. Some options sound right but don't survive a careful read.
How can you get a random number on the blockchain?
How many competing block branches can a blockchain have at the same time?
A chain produces a new block every 10 seconds. A merchant accepts payment after 6 confirmations. An attacker controls 30% of the network's block-production capacity. Is the merchant safe?
Why can't we select the next block by having all nodes vote, like a presidential election?
Why can't an attacker quietly change one byte in a block from a year ago?
Three full nodes received the same transaction to validate. Could they produce different results?