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

Function nbits_str

test/functional/test_framework/blocktools.py:92–93  ·  view source on GitHub ↗
(nbits)

Source from the content-addressed store, hash-verified

90FORK_LENGTH = 10
91
92def nbits_str(nbits):
93 return f"{nbits:08x}"
94
95def target_str(target):
96 return f"{target:064x}"

Callers 5

run_testMethod · 0.90
run_testMethod · 0.90
_test_getblockheaderMethod · 0.90

Calls

no outgoing calls

Tested by 1