Within the non-segwit case, FindAndDelete
removes signature information from scriptCode.
In P2PKH, the signature just isn’t included within the scriptPubKey, so I believe the one factor that will even have signature information eliminated by FindAndDelete is redeemScript for P2SH.
However is there truly a helpful use case for together with a legitimate signature inside a redeemScript? What was the intention behind introducing the FindAndDelete
course of?
Within the following Bitcoin Core’s FindAndDelete check case, the general public key’s recovered from the signature and set to scriptSig.
https://github.com/bitcoin/bitcoin/blob/v28.0/src/check/information/tx_valid.json#L496
Within the non-segwit case, FindAndDelete
removes signature information from scriptCode.
In P2PKH, the signature just isn’t included within the scriptPubKey, so I believe the one factor that will even have signature information eliminated by FindAndDelete is redeemScript for P2SH.
However is there truly a helpful use case for together with a legitimate signature inside a redeemScript? What was the intention behind introducing the FindAndDelete
course of?
Within the following Bitcoin Core’s FindAndDelete check case, the general public key’s recovered from the signature and set to scriptSig.
https://github.com/bitcoin/bitcoin/blob/v28.0/src/check/information/tx_valid.json#L496