Get the script associated with a P2PKH.
(pubkeyhash)
| 40 | from test_framework.blocktools import add_witness_commitment |
| 41 | |
| 42 | def get_p2pkh_script(pubkeyhash): |
| 43 | """Get the script associated with a P2PKH.""" |
| 44 | return CScript([CScriptOp(OP_DUP), CScriptOp(OP_HASH160), pubkeyhash, CScriptOp(OP_EQUALVERIFY), CScriptOp(OP_CHECKSIG)]) |
| 45 | |
| 46 | class SighashRangeproofTest(BitcoinTestFramework): |
| 47 | def set_test_params(self): |
no test coverage detected