Given the 20-byte hash160 of a compressed public key, return a P2PKH
locking bytecode:
OP_DUP OP_HASH160 OP_PUSHBYTES_20 publicKeyHash OP_EQUALVERIFY OP_CHECKSIG.
This method does not validate publicKeyHash in any way; inputs of incorrect
lengths will produce incorrect results.
Given the 20-byte hash160 of a compressed public key, return a P2PKH locking bytecode:
OP_DUP OP_HASH160 OP_PUSHBYTES_20 publicKeyHash OP_EQUALVERIFY OP_CHECKSIG
.This method does not validate
publicKeyHash
in any way; inputs of incorrect lengths will produce incorrect results.