Why can’t P2PKH’s scriptPubKey be shortened to only OP_CHECKSIG?

For P2PKH, the scripPubKey is OP_DUP OP_HASH160 <pubKeyHash> OP_EQUALVERIFY OP_CHECKSIG. Why can’t it check the signature only? Why can’t it be shortened to just one opcode — OP_CHECKSIG?

Why does the public key need to be presented in addition to the signature when unlocking?

Continue reading Why can’t P2PKH’s scriptPubKey be shortened to only OP_CHECKSIG?

Leave a Comment