mirror of
https://github.com/bitcoin/bips.git
synced 2025-02-27 01:21:10 +01:00
[trivial] remove duplicate of
This commit is contained in:
parent
0a9018d9f0
commit
3640129163
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ N.B. All comparisons do not need to operate in constant time since they are not
|
||||||
|
|
||||||
===Transaction Inputs===
|
===Transaction Inputs===
|
||||||
|
|
||||||
Transaction inputs are defined by the hash of a previous transaction, the output index of of a UTXO from that previous transaction, the size of an unlocking script, the unlocking script, and a sequence number. [3]
|
Transaction inputs are defined by the hash of a previous transaction, the output index of a UTXO from that previous transaction, the size of an unlocking script, the unlocking script, and a sequence number. [3]
|
||||||
For sorting inputs, the hash of the previous transaction and the output index within that transaction are sufficient for sorting purposes; each transaction hash has an extremely high probability of being unique in the blockchain — this is enforced for coinbase transactions by BIP30 — and output indices within a transaction are unique.
|
For sorting inputs, the hash of the previous transaction and the output index within that transaction are sufficient for sorting purposes; each transaction hash has an extremely high probability of being unique in the blockchain — this is enforced for coinbase transactions by BIP30 — and output indices within a transaction are unique.
|
||||||
For the sake of efficiency, transaction hashes should be compared first before output indices, since output indices from different transactions are often equivalent, while all bytes of the transaction hash are effectively random variables.
|
For the sake of efficiency, transaction hashes should be compared first before output indices, since output indices from different transactions are often equivalent, while all bytes of the transaction hash are effectively random variables.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue