0

I'm working with Partially Signed Bitcoin Transactions (PSBTs) and have a question about the capabilities of secondary signers in the signing process. I understand that in a multi-signature scenario, each participant is expected to sign the transaction. However, I'm curious about whether a second (or subsequent) signer can also append additional data to the transaction, aside from their signature.

Specifically, I'd like to know:

Can additional metadata or inputs/outputs be added by a second signer? Does the PSBT format support modifications by signers beyond merely adding their signatures? Any insights or references to documentation would be greatly appreciated!

1 Answer 1

2

PSBT is just an interchange format for whatever information signers may need.

It does contain an unsigned transaction as "the thing being signed". Nothing prevents participants from modifying that transaction data, but doing so will generally invalidate the existing signatures, so it's not expected that participants do this after agreeing on what the transaction being signed is.

3
  • so isnt there way to add data as second signer but without invalidating the psbt ? Commented Jun 28 at 10:27
  • 2
    Normally, no, because the signatures cover the outputs; so if the outputs change, the signatures are invalidated (this too is unrelated to PSBT, it's just how signatures in Bitcoin work). It's possible to avoid this if the signatures do not cover the outputs (using the SIGHASH_NONE or SIGHASH_SINGLE flags), but there are many pitfalls in that case. Commented Jun 28 at 11:52
  • 1
    @NersesAsaturyan: It might help if you take a look at the PSBT format specification in BIP 174.
    – Murch
    Commented Jun 28 at 14:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.