summaryrefslogtreecommitdiff
path: root/bip-0174.mediawiki
diff options
context:
space:
mode:
authorkallewoof <karljohan-alm@garage.co.jp>2021-09-30 08:09:37 +0900
committerGitHub <noreply@github.com>2021-09-30 08:09:37 +0900
commitc798c9c54b8c919ac1379142202cc5bc7f3d369e (patch)
tree05a6b381bbbd0b22e4c0af9c0edaad924a696539 /bip-0174.mediawiki
parentbd943663d6908679ca4f94276589ef402f865739 (diff)
parent33efbb21259818f2da2c4ac8c2749efbc840366c (diff)
downloadbips-c798c9c54b8c919ac1379142202cc5bc7f3d369e.tar.xz
Merge pull request #1197 from kallerosenbaum/patch-1
BIP 0174: Correct format of PSBT_GLOBAL_TX_MODIFIABLE
Diffstat (limited to 'bip-0174.mediawiki')
-rw-r--r--bip-0174.mediawiki4
1 files changed, 2 insertions, 2 deletions
diff --git a/bip-0174.mediawiki b/bip-0174.mediawiki
index d70a7f1..6f956aa 100644
--- a/bip-0174.mediawiki
+++ b/bip-0174.mediawiki
@@ -164,8 +164,8 @@ The currently defined global types are as follows:
| <tt>PSBT_GLOBAL_TX_MODIFIABLE = 0x06</tt>
| None
| No key data
-| <tt><single byte boolean> <single byte boolean> <bitvector></tt>
-| A single byte boolean (0 for False, 1 for True) representing whether inputs can be modified, followed by a single byte boolean representing whether outputs can be modified.
+| <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.
|
| 0
| 2