1

I checked this How is a transaction's output signed?.

I need clarification for:

For each input there is one signature, so there are as many signatures as there are inputs?

Why is that so and not use just one master signature per transaction, is it because sender of transaction can use funds from more than one address he controls?

Is there also a master signature that signs entire transaction or just the per input signatures mentioned before?

1

1.: For typical P2PKH/P2PK you will always need to provide one signature. If all inputs spend outpoints of this form, then each one of them must provide one signature.

2.: They must sign a "special" transaction structure, see here: Redeeming a raw transaction step by step example required

  • To add slightly to point 1, if the input is from a multi-signature address then more than one signature is required, but yes normally one per input is required – MeshCollider Nov 13 '17 at 11:03
  • Sorry, my question is too broad, I will shrink to only first bullet with some subquestions, and post 2 as separate question. – croraf Nov 13 '17 at 11:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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