mirror of
https://github.com/bitcoin/bips.git
synced 2024-11-19 01:40:05 +01:00
370: clarify inputs/outputs modifiable
Clarify that these flags only mean whether inputs/outputs can be removed, not whether fields can be added or removed for each input/output.
This commit is contained in:
parent
aa807d5a13
commit
5861862f59
@ -103,7 +103,7 @@ The new global types for PSBT Version 2 are as follows:
|
||||
| None
|
||||
| No key data
|
||||
| <tt><8-bit uint></tt>
|
||||
| An 8 bit little endian unsigned integer as a bitfield for various transaction modification flags. Bit 0 is the Inputs Modifiable Flag and indicates whether inputs can be modified. Bit 1 is the Outputs Modifiable Flag and indicates whether outputs can be modified. Bit 2 is the Has SIGHASH_SINGLE flag and indicates whether the transaction has a SIGHASH_SINGLE signature who's input and output pairing must be preserved. Bit 2 essentially indicates that the Constructor must iterate the inputs to determine whether and how to add an input.
|
||||
| An 8 bit unsigned integer as a bitfield for various transaction modification flags. Bit 0 is the Inputs Modifiable Flag and indicates whether inputs can be added or removed. Bit 1 is the Outputs Modifiable Flag and indicates whether outputs can be added or removed. Bit 2 is the Has SIGHASH_SINGLE flag and indicates whether the transaction has a SIGHASH_SINGLE signature who's input and output pairing must be preserved. Bit 2 essentially indicates that the Constructor must iterate the inputs to determine whether and how to add or remove an input.
|
||||
|
|
||||
| 0
|
||||
| 2
|
||||
|
Loading…
Reference in New Issue
Block a user