diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-02-15 14:01:43 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-02-15 14:00:28 -0500 |
commit | face7220b776e3decf9889b2c20c9d5f935e971e (patch) | |
tree | 9f99a410b351a2368727f4f963e509f77d0c70d7 /test/functional/test_framework/test_node.py | |
parent | d09968f4d00668b990ae19aed024ff3fd27072b8 (diff) | |
download | bitcoin-face7220b776e3decf9889b2c20c9d5f935e971e.tar.xz |
qa: Move common args to bitcoin.conf
Diffstat (limited to 'test/functional/test_framework/test_node.py')
-rwxr-xr-x | test/functional/test_framework/test_node.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py index 1054e6d028..93a052f785 100755 --- a/test/functional/test_framework/test_node.py +++ b/test/functional/test_framework/test_node.py @@ -57,9 +57,11 @@ class TestNode(): self.binary = binary self.stderr = stderr self.coverage_dir = coverage_dir - # Most callers will just need to add extra args to the standard list below. For those callers that need more flexibity, they can just set the args property directly. + # Most callers will just need to add extra args to the standard list below. + # For those callers that need more flexibity, they can just set the args property directly. + # Note that common args are set in the config file (see initialize_datadir) self.extra_args = extra_args - self.args = [self.binary, "-datadir=" + self.datadir, "-server", "-keypool=1", "-discover=0", "-rest", "-logtimemicros", "-debug", "-debugexclude=libevent", "-debugexclude=leveldb", "-mocktime=" + str(mocktime), "-uacomment=testnode%d" % i] + self.args = [self.binary, "-datadir=" + self.datadir, "-logtimemicros", "-debug", "-debugexclude=libevent", "-debugexclude=leveldb", "-mocktime=" + str(mocktime), "-uacomment=testnode%d" % i] self.cli = TestNodeCLI(os.getenv("BITCOINCLI", "bitcoin-cli"), self.datadir) self.use_cli = use_cli |