MCPcopy Create free account
hub / github.com/ElementsProject/elements / hash256

Function hash256

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

Source from the content-addressed store, hash-verified

71
72
73def hash256(s):
74 return sha256(sha256(s))
75
76
77def ser_compact_size(l):

Callers 15

serialize_addrmanFunction · 0.90
run_testMethod · 0.90
compute_last_headerFunction · 0.90
hash256_reversedFunction · 0.90
LegacySignatureHashFunction · 0.70
SegwitV0SignatureMsgFunction · 0.70
SegwitV0SignatureHashFunction · 0.70
byte_to_base58Function · 0.70
base58_to_byteFunction · 0.70
get_witness_scriptFunction · 0.70
calc_witness_hashMethod · 0.70
calc_witness_hashMethod · 0.70

Calls 1

sha256Function · 0.70

Tested by

no test coverage detected