|
|
|
@ -159,7 +159,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",
|
|
|
|
|
"-relaypriority=0", "-whitelist=127.0.0.1"]))
|
|
|
|
|
"-whitelist=127.0.0.1"]))
|
|
|
|
|
|
|
|
|
|
print("This test is time consuming, please be patient")
|
|
|
|
|
print("Splitting inputs to small size so we can generate low priority tx's")
|
|
|
|
@ -197,12 +197,12 @@ class EstimateFeeTest(BitcoinTestFramework):
|
|
|
|
|
# (17k is room enough for 110 or so transactions)
|
|
|
|
|
self.nodes.append(start_node(1, self.options.tmpdir,
|
|
|
|
|
["-blockprioritysize=1500", "-blockmaxsize=17000",
|
|
|
|
|
"-maxorphantx=1000", "-relaypriority=0", "-debug=estimatefee"]))
|
|
|
|
|
"-maxorphantx=1000", "-debug=estimatefee"]))
|
|
|
|
|
connect_nodes(self.nodes[1], 0)
|
|
|
|
|
|
|
|
|
|
# Node2 is a stingy miner, that
|
|
|
|
|
# produces too small blocks (room for only 55 or so transactions)
|
|
|
|
|
node2args = ["-blockprioritysize=0", "-blockmaxsize=8000", "-maxorphantx=1000", "-relaypriority=0"]
|
|
|
|
|
node2args = ["-blockprioritysize=0", "-blockmaxsize=8000", "-maxorphantx=1000"]
|
|
|
|
|
|
|
|
|
|
self.nodes.append(start_node(2, self.options.tmpdir, node2args))
|
|
|
|
|
connect_nodes(self.nodes[0], 2)
|
|
|
|
|