Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
90
FORK_LENGTH = 10
91
92
def
nbits_str(nbits):
93
return
f
"{nbits:08x}"
94
95
def
target_str(target):
96
return
f
"{target:064x}"
Callers
5
test_snapshot_in_a_divergent_chain
Method · 0.90
run_test
Method · 0.90
run_test
Method · 0.90
_test_getblockchaininfo
Method · 0.90
_test_getblockheader
Method · 0.90
Calls
no outgoing calls
Tested by
1
test_snapshot_in_a_divergent_chain
Method · 0.72