Module 5 · Interview Prep: A P2P Wallet and Ledger Lesson 35 of 54
Wallet Follow-ups and the Invariant Replay
A dropped network, a fast balance, reversals, limits, and five ticks.
Transcript
25 sentences · select one to jump thereCheck your understanding
How do you show Sara's balance fast without trusting a stale copy?
Lesson notes
The rule
Spending never trusts a cached balance: the spend check reads the row it locks