Dev Docs: Fix Confusing Sentence About UTXO/Input Values

Reported by Nathan Wilcox (thanks!)

Closes #766
This commit is contained in:
David A. Harding 2015-02-24 16:25:48 -05:00
parent 5544ab22e1
commit fc10efd3dc
No known key found for this signature in database
GPG key ID: 4B29C30FF29EC4B7

View file

@ -65,10 +65,13 @@ the outputs of all transactions included in the block chain can be categorized a
[Unspent Transaction Outputs (UTXOs)][utxo]{:#term-utxo}{:.term} or spent transaction outputs. For a [Unspent Transaction Outputs (UTXOs)][utxo]{:#term-utxo}{:.term} or spent transaction outputs. For a
payment to be valid, it must only use UTXOs as inputs. payment to be valid, it must only use UTXOs as inputs.
Satoshis cannot be left in a UTXO after a transaction or they will be Ignoring coinbase transactions (described later), if the value of a
irretrievably lost, so any difference between the number of satoshis in a transaction's outputs exceed its inputs, the transaction will be
transaction's inputs and outputs is given as a [transaction fee][]{:#term-transaction-fee}{:.term} to rejected---but if the inputs exceed the value of the outputs, any
the Bitcoin [miner][]{:#term-miner}{:.term} who creates the block containing that transaction. difference in value may be claimed as a [transaction
fee][]{:#term-transaction-fee}{:.term} by the Bitcoin
[miner][]{:#term-miner}{:.term} who creates the block containing that
transaction.
For example, in the illustration above, each transaction spends 10,000 satoshis For example, in the illustration above, each transaction spends 10,000 satoshis
fewer than it receives from its combined inputs, effectively paying a 10,000 fewer than it receives from its combined inputs, effectively paying a 10,000
satoshi transaction fee. satoshi transaction fee.