New answers tagged

2 votes
Accepted

Why we need to repalce the ScriptSig with the previous ScriptPubKey when calculate the per input signature hash?

Any data that is included in the sighash must be revealed to the signer. It also means that the signature itself directly commits to that information and so must be truthfully provided to the signer ...
user avatar
  • 62.3k

Top 50 recent answers are included