delvingbitcoin

BIP352: PSBT support

BIP352: PSBT support

Original Postby andrewtoth

Posted on: June 22, 2024 14:51 UTC

The discussion revolves around a technical aspect of handling group proofs in programming, specifically when these proofs are duplicated across each input within a group.

This approach ensures protection against the reordering of inputs, which is essential for maintaining the integrity of data sequences in programming constructs. However, this method does not safeguard against the potential issue where a constructor might substitute an input with another. Such an action would invalidate the proof attached to that particular input, leading to failures during the verification process. The challenge here lies in the fact that, to prevent such occurrences, one would have to restrict any modifications to the inputs once shares and proofs have been appended and before the final signing process. This constraint, however, poses a dilemma as it may not align with the desired flexibility in handling inputs within programming frameworks.