delvingbitcoin
BIP352: PSBT support
Posted on: June 14, 2024 23:48 UTC
The discussion raises an important consideration regarding the handling of inputs in a system where their order can be modified.
The primary concern is that relying on the fixed ordering of inputs could lead to issues, particularly if a list of indexes is used and inputs are added incorrectly by someone unfamiliar with the correct process. This problem is highlighted in the context of adding silent payment outputs, suggesting that such additions should only be possible when Inputs Modifiable is not enabled to avoid complications.
Further examining the implications of input modifiability, there's an acknowledgment of the potential benefits of optimizing for scenarios where a wallet might want to consolidate multiple small unspent transaction outputs (utxos) into a single payment to a silent payment address. In the absence of consolidation, the requirement for a hardware wallet signer to compute shares and proofs would increase significantly—by tenfold in the given example of a wallet seeking to use 10 small utxos. This underlines the necessity of considering how inputs are managed and the potential impact on transaction processing efficiency and security.