MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / ser_string

Function ser_string

test/functional/test_framework/messages.py:159–160  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

157
158
159def ser_string(s):
160 return ser_compact_size(len(s)) + s
161
162
163def deser_uint256(f):

Callers 15

check_keymetaMethod · 0.90
get_flagsMethod · 0.90
check_last_hardenedMethod · 0.90
serializeMethod · 0.90
run_testMethod · 0.90
SegwitV0SignatureMsgFunction · 0.85
BIP341_sha_scriptpubkeysFunction · 0.85
TaprootSignatureMsgFunction · 0.85
taproot_tree_helperFunction · 0.85
ser_string_vectorFunction · 0.85
serializeMethod · 0.85

Calls 1

ser_compact_sizeFunction · 0.70

Tested by

no test coverage detected