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?
At a given moment, how many competing versions of the chain can exist before the network settles on one?
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 running the same client validate the same transaction. Could they reach different results?