mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-12 12:03:29 +00:00
Clarify what the number of inputs field is actually
This commit is contained in:
parent
2166b78bbf
commit
53891fc7ed
@ -185,9 +185,9 @@ Value:
|
|||||||
</pre>
|
</pre>
|
||||||
|-
|
|-
|
||||||
| <tt>0x04</tt>
|
| <tt>0x04</tt>
|
||||||
| Number of inputs
|
| Number of inputs provided in the PSBT
|
||||||
| None. The key must only contain the 1 byte type.
|
| None. The key must only contain the 1 byte type.
|
||||||
| A compact size unsigned integer representing the number of inputs that this transaction has
|
| A compact size unsigned integer representing the number of inputs that this PSBT has
|
||||||
| Key:
|
| Key:
|
||||||
<pre>
|
<pre>
|
||||||
{0x04}
|
{0x04}
|
||||||
@ -265,7 +265,7 @@ Value:
|
|||||||
| <tt>0x04</tt>
|
| <tt>0x04</tt>
|
||||||
| Input index
|
| Input index
|
||||||
| None. The key must only contain the 1 byte type.
|
| None. The key must only contain the 1 byte type.
|
||||||
| A compact size unsigned integer representing the index of this input. This field
|
| A compact size unsigned integer representing the 0-based index of this input. This field
|
||||||
is optional to allow for completed inputs to be skipped without needing a separator byte.
|
is optional to allow for completed inputs to be skipped without needing a separator byte.
|
||||||
If one input has this type, then all inputs must have it.
|
If one input has this type, then all inputs must have it.
|
||||||
| Key:
|
| Key:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user