Module 5 · Interview Prep: A P2P Wallet and Ledger Lesson 30 of 54
A Ledger That Works
Four boxes, three tables, one transaction per transfer, and the outbox.
Transcript
32 sentences · select one to jump thereCheck your understanding
Why does the transfer write an outbox row in the same transaction as the ledger entries?
Lesson notes
The rule
One transaction writes the key, both entries, both balances and the outbox row: all of it lands, or none of it