1
0
Fork 0
mirror of https://github.com/bitcoin/bips.git synced 2025-03-13 11:09:16 +01:00

Clarify what the number of inputs field is actually

This commit is contained in:
Andrew Chow 2018-01-04 13:15:46 -05:00
parent 2166b78bbf
commit 53891fc7ed

View file

@ -185,9 +185,9 @@ Value:
</pre>
|-
| <tt>0x04</tt>
| Number of inputs
| Number of inputs provided in the PSBT
| 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:
<pre>
{0x04}
@ -265,7 +265,7 @@ Value:
| <tt>0x04</tt>
| Input index
| 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.
If one input has this type, then all inputs must have it.
| Key: