Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/petertodd/python-bitcoinlib
/ deserialize
Method
deserialize
bitcoin/core/serialize.py:175–178 ·
view source on GitHub ↗
(cls, buf)
Source
from the content-addressed store, hash-verified
173
174
@classmethod
175
def
deserialize(cls, buf):
176
if
isinstance(buf, str) or isinstance(buf, bytes):
177
buf = BytesIO(buf)
178
return
cls.stream_deserialize(buf)
179
180
181
class
VarIntSerializer(Serializer):
Callers
15
fundrawtransaction
Method · 0.45
getblockheader
Method · 0.45
getblock
Method · 0.45
getrawtransaction
Method · 0.45
signrawtransaction
Method · 0.45
signrawtransactionwithwallet
Method · 0.45
stream_deserialize
Method · 0.45
CoreMainParams
Class · 0.45
CoreTestNetParams
Class · 0.45
CoreSigNetParams
Class · 0.45
CoreRegTestParams
Class · 0.45
sign_compact
Method · 0.45
Calls
1
stream_deserialize
Method · 0.45
Tested by
15
test_p2wpkh_signaturehash
Method · 0.36
test_p2sh_p2wpkh_signaturehash
Method · 0.36
test_p2wsh_signaturehash1
Method · 0.36
test_p2wsh_signaturehash2
Method · 0.36
test_p2sh_p2wsh_signaturehash
Method · 0.36
test_checkblock
Method · 0.36
test_serializationSimple
Method · 0.36
test_serializationIPv4
Method · 0.36
test_serializationIPv6
Method · 0.36
test_serializationDiff
Method · 0.36
load_test_vectors
Function · 0.36
test_serialization
Method · 0.36