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

Function delete_cookie_file

test/functional/test_framework/util.py:466–469  ·  view source on GitHub ↗
(datadir, chain)

Source from the content-addressed store, hash-verified

464
465# If a cookie file exists in the given datadir, delete it.
466def delete_cookie_file(datadir, chain):
467 if os.path.isfile(os.path.join(datadir, chain, ".cookie")):
468 logger.debug("Deleting leftover cookie file")
469 os.remove(os.path.join(datadir, chain, ".cookie"))
470
471
472def softfork_active(node, key):

Callers 1

startMethod · 0.70

Calls 2

joinMethod · 0.45
removeMethod · 0.45

Tested by 1

startMethod · 0.56