Author: Rusty Russell 2021-01-08 00:40:06
Published on: 2021-01-08T00:40:06+00:00
In this email exchange, Andrew Chow proposes adding a new global field to the Partially Signed Bitcoin Transaction (PSBT) format called PSBT_GLOBAL_UNDER_CONSTRUCTION. This field would be used to signal whether inputs and outputs can be added to the PSBT. Rusty Russell suggests that this could be flagged by omitting the PSBT_GLOBAL_INPUT_COUNT and PSBT_GLOBAL_OUTPUT_COUNT fields. However, Andrew explains that those fields are necessary to determine the number of input and output maps in the PSBT. They also discuss the possibility of signed inputs being added to transactions and the complexity of allowing modification of inputs and outputs after the Creator role is done. Rusty suggests adding more data to the PSBT_GLOBAL_UNDER_CONSTRUCTION field to indicate which inputs and outputs are modifiable and what inputs are SIGHASH_SINGLE.
Updated on: 2023-06-14T16:30:41.523813+00:00