Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/petertodd/python-bitcoinlib
/ serialize
Method
serialize
bitcoin/core/serialize.py:169–172 ·
view source on GitHub ↗
(cls, obj)
Source
from the content-addressed store, hash-verified
167
168
@classmethod
169
def
serialize(cls, obj):
170
f = BytesIO()
171
cls.stream_serialize(obj, f)
172
return
f.getvalue()
173
174
@classmethod
175
def
deserialize(cls, buf):
Callers
15
fundrawtransaction
Method · 0.45
sendrawtransaction
Method · 0.45
signrawtransaction
Method · 0.45
signrawtransactionwithwallet
Method · 0.45
submitblock
Method · 0.45
stream_serialize
Method · 0.45
insert
Method · 0.45
contains
Method · 0.45
RawSignatureHash
Function · 0.45
SignatureHash
Function · 0.45
GetTxid
Method · 0.45
calc_weight
Method · 0.45
Calls
1
stream_serialize
Method · 0.45
Tested by
15
test_serializationSimple
Method · 0.36
test_serializationIPv4
Method · 0.36
test_serializationIPv6
Method · 0.36
test_serializationDiff
Method · 0.36
test_serialization
Method · 0.36
test_serialization
Method · 0.36
test_tx_valid
Method · 0.36
test_fundrawtransaction_hex_hash
Method · 0.36
test_fundrawtransaction_adds_output
Method · 0.36
test_sendrawtransaction
Method · 0.36
test_create_insert_serialize
Method · 0.36
test_create_insert_serialize_with_tweak
Method · 0.36