1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2025-01-11 08:10:54 +00:00

CH02::getting inputs: introduce UTXO term

Introduce the UTXO term as it is one of the most essential concepts to
understanding how Bitcoin works and is widely used in other Bitcoin
technical documentation.
This commit is contained in:
David A. Harding 2023-02-04 12:47:20 -10:00
parent 2753d8cd8d
commit fbdb840923

View File

@ -347,13 +347,12 @@ wants to send to Bob. Most wallets keep track of all the available
outputs belonging to addresses in the wallet. Therefore, Alice's wallet outputs belonging to addresses in the wallet. Therefore, Alice's wallet
would contain a copy of the transaction output from Joe's transaction, would contain a copy of the transaction output from Joe's transaction,
which was created in exchange for cash (see <<getting_first_bitcoin>>). which was created in exchange for cash (see <<getting_first_bitcoin>>).
A bitcoin wallet application that runs as a full-node client actually A bitcoin wallet application that runs on a full node actually
contains a copy of every unspent output from every transaction in the contains a copy of every confirmed transaction's unspent outputs, called
blockchain. This allows a wallet to construct transaction inputs as well *Unspent Transaction Outputs* (UTXOs).
as quickly verify incoming transactions as having correct inputs. However, because full nodes use more resources, most
However, because a full-node client takes up a lot of disk space, most
user wallets run "lightweight" clients that track only the user's own user wallets run "lightweight" clients that track only the user's own
unspent outputs. UTXOs.
If the wallet application does not maintain a copy of unspent If the wallet application does not maintain a copy of unspent
transaction outputs, it can query the Bitcoin network to retrieve this transaction outputs, it can query the Bitcoin network to retrieve this