aboutsummaryrefslogtreecommitdiff
path: root/test/functional/smartfees.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-03-23 23:56:31 -0400
committerJohn Newbery <john@johnnewbery.com>2017-05-31 16:59:38 -0400
commitd8c218f9c268b00ed9bb8e7ee00e980a0fa326de (patch)
tree23f699605512b7d3c643461b8939724edc3850e8 /test/functional/smartfees.py
parentc1c9a95379d364ea8ca5d3d0789e8afb1a99bb8b (diff)
downloadbitcoin-d8c218f9c268b00ed9bb8e7ee00e980a0fa326de.tar.xz
[tests] Functional tests call self.start_node(s) and self.stop_node(s)
This commit changes the individual test scripts to call the start_node(s) and stop_node(s) methods in BitcoinTestFramework.
Diffstat (limited to 'test/functional/smartfees.py')
-rwxr-xr-xtest/functional/smartfees.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/smartfees.py b/test/functional/smartfees.py
index 4124f8025e..482c77863f 100755
--- a/test/functional/smartfees.py
+++ b/test/functional/smartfees.py
@@ -155,7 +155,7 @@ class EstimateFeeTest(BitcoinTestFramework):
"""
self.nodes = []
# Use node0 to mine blocks for input splitting
- self.nodes.append(start_node(0, self.options.tmpdir, ["-maxorphantx=1000",
+ self.nodes.append(self.start_node(0, self.options.tmpdir, ["-maxorphantx=1000",
"-whitelist=127.0.0.1"]))
self.log.info("This test is time consuming, please be patient")
@@ -191,7 +191,7 @@ class EstimateFeeTest(BitcoinTestFramework):
# Node1 mines small blocks but that are bigger than the expected transaction rate.
# NOTE: the CreateNewBlock code starts counting block size at 1,000 bytes,
# (17k is room enough for 110 or so transactions)
- self.nodes.append(start_node(1, self.options.tmpdir,
+ self.nodes.append(self.start_node(1, self.options.tmpdir,
["-blockmaxsize=17000", "-maxorphantx=1000"]))
connect_nodes(self.nodes[1], 0)
@@ -199,7 +199,7 @@ class EstimateFeeTest(BitcoinTestFramework):
# produces too small blocks (room for only 55 or so transactions)
node2args = ["-blockmaxsize=8000", "-maxorphantx=1000"]
- self.nodes.append(start_node(2, self.options.tmpdir, node2args))
+ self.nodes.append(self.start_node(2, self.options.tmpdir, node2args))
connect_nodes(self.nodes[0], 2)
connect_nodes(self.nodes[2], 1)