MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / get_datadir_path

Function get_datadir_path

test/functional/test_framework/util.py:309–310  ·  view source on GitHub ↗
(dirname, n)

Source from the content-addressed store, hash-verified

307 return datadir
308
309def get_datadir_path(dirname, n):
310 return os.path.join(dirname, "node" + str(n))
311
312def append_config(datadir, options):
313 with open(os.path.join(datadir, "bitcoingold.conf"), 'a', encoding='utf8') as f:

Callers 5

setup_chainMethod · 0.90
add_nodesMethod · 0.85
_initialize_chainMethod · 0.85
cache_pathMethod · 0.85
initialize_datadirFunction · 0.85

Calls 1

joinMethod · 0.80

Tested by 3

add_nodesMethod · 0.68
_initialize_chainMethod · 0.68
cache_pathMethod · 0.68