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.

2:16 clip1:04:41–1:06:58 in the full courseWatch on YouTube

Transcript

32 sentences · select one to jump there

Check your understanding

Why does the transfer write an outbox row in the same transaction as the ledger entries?

Choose one answer

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