Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ get_datadir_path
Function
get_datadir_path
test/functional/test_framework/util.py:367–368 ·
view source on GitHub ↗
(dirname, n)
Source
from the content-addressed store, hash-verified
365
################
366
367
def
get_datadir_path(dirname, n):
368
return
os.path.join(dirname,
"node"
+ str(n))
369
370
def
initialize_datadir(dirname, n, chain, disable_autoconnect=True):
371
datadir = get_datadir_path(dirname, n)
Callers
9
run_test
Method · 0.90
setup_chain
Method · 0.90
run_test
Method · 0.90
setup_chain
Method · 0.90
_test_getblock
Method · 0.90
setup_network
Method · 0.90
add_nodes
Method · 0.70
_initialize_chain
Method · 0.70
initialize_datadir
Function · 0.70
Calls
1
join
Method · 0.45
Tested by
2
add_nodes
Method · 0.56
_initialize_chain
Method · 0.56