Skip to content

Commit 15db19a

Browse files
committed
add explanation utxo
1 parent 9067c09 commit 15db19a

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

decoding/utxo.mdx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ images:
3131
Tracking user balances in decentralized networks relies on two models:
3232

3333
1. **Account Model** (Ethereum): Tracks balances like a bank ledger (simple and intuitive).
34-
2. **UTXO Model** (Bitcoin): Tracks specific unspent outputs from transactionscomplex but powerful.
34+
2. **UTXO Model** (Bitcoin): Tracks specific unspent outputs from transactions (complex but powerful)
3535

3636
---
3737

@@ -61,13 +61,11 @@ Bob has three "bills" (UTXOs):
6161
- One 3 BTC UTXO
6262
- One 2 BTC UTXO
6363

64-
To spend 7 BTC, Bob must:
64+
To spend 7 BTC, Bob has multiple options:
6565

66-
1. Use the 5 BTC UTXO
67-
2. Use the 3 BTC UTXO
68-
3. Get 1 BTC back as "change" (new UTXO)
69-
70-
Key Points:
66+
1. Use the 5 BTC and 3 BTC UTXOs and receive 1 BTC back as 'change' (a new UTXO).
67+
2. Alternatively, use the 5 BTC and 2 BTC UTXOs without needing any change.
68+
Key Points:
7169

7270
- UTXOs can only be spent once (like using a paper bill)
7371
- Each transaction creates new UTXOs

0 commit comments

Comments
 (0)