Skip to content

Commit 5861862

Browse files
committed
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.
1 parent aa807d5 commit 5861862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bip-0370.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ The new global types for PSBT Version 2 are as follows:
103103
| None
104104
| No key data
105105
| <tt><8-bit uint></tt>
106-
| 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.
106+
| 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.
107107
|
108108
| 0
109109
| 2

0 commit comments

Comments
 (0)