UTXOs
UTXOs, or Unspent Transaction Outputs, are a fundamental concept in Bitcoin and other UTXO-based blockchains. In this model, transactions do not modify account balances directly. Instead, they consume existing unspent outputs and create new outputs. The collection of all unspent outputs at any moment is called the UTXO set and represents the total amount of spendable funds on the network.
Each UTXO is tied to a locking script that specifies the conditions required to spend it, typically
The value of a transaction input must cover the total value of its outputs, with any difference
Nodes maintain the UTXO set to validate transactions and blocks. Full nodes store and update the set,