Sara pays Omar 3 units of a digital currency. Later she tries to pay the same 3 units to a shop. Why does the second payment fail?
- The payment to Omar is checked and placed in a block with a time stamp.
- The block is added to the blockchain, and every computer that holds the ledger updates its copy.
- When Sara tries to pay the shop, the ledger shows that she has already transferred those 3 units.
- She cannot alter the earlier record, because that would change the hash of its block and be detected.
Answer: The blockchain already records that the 3 units went to Omar, so the same units cannot be spent twice.