Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ ser_uint256
Function
ser_uint256
test/functional/test_framework/messages.py:114–119 ·
view source on GitHub ↗
(u)
Source
from the content-addressed store, hash-verified
112
113
114
def
ser_uint256(u):
115
rs = b
""
116
for
_ in range(8):
117
rs += struct.pack(
"<I"
, u & 0xFFFFFFFF)
118
u >>= 32
119
return
rs
120
121
122
def
uint256_from_str(s):
Callers
15
to_jsonable
Function · 0.90
get_utxo
Method · 0.90
tapscript_satisfy_test
Method · 0.90
assert_tx_format_also_signed
Method · 0.90
run_test
Method · 0.90
test_compactblock_reconstruction_multiple_peers
Method · 0.90
serialize_addrman
Function · 0.90
test_witness_commitments
Method · 0.90
test_block_malleability
Method · 0.90
compute_last_header
Function · 0.90
dump_json_test
Function · 0.90
SegwitV0SignatureMsg
Function · 0.70
Calls
no outgoing calls
Tested by
3
test_compactblock_reconstruction_multiple_peers
Method · 0.72
test_witness_commitments
Method · 0.72
test_block_malleability
Method · 0.72