Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/petertodd/python-bitcoinlib
/ to_redeemScript
Method
to_redeemScript
bitcoin/wallet.py:181–182 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
179
return
script.CScript([script.OP_HASH160, self, script.OP_EQUAL])
180
181
def
to_redeemScript(self):
182
return
self.to_scriptPubKey()
183
184
185
class
P2PKHBitcoinAddress(CBase58BitcoinAddress):
Callers
4
test_p2wpkh_signaturehash
Method · 0.45
test_p2sh_p2wpkh_signaturehash
Method · 0.45
T
Method · 0.45
spend-p2wpkh.py
File · 0.45
Calls
1
to_scriptPubKey
Method · 0.95
Tested by
3
test_p2wpkh_signaturehash
Method · 0.36
test_p2sh_p2wpkh_signaturehash
Method · 0.36
T
Method · 0.36