aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/listtransactions.py
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-01-19 12:57:56 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-01-19 12:58:15 +0100
commit3b43cad9d0596a94b6d9d85460a4c591c485bf63 (patch)
tree48deedd4b244082585f5c06d269e839b764238dd /qa/rpc-tests/listtransactions.py
parent668906fcf27bdf43a82fe331a377aef55e4b593a (diff)
parent39a525c21fd1b34df63ab30868423b97b708ee49 (diff)
Merge pull request #7164: Do not download transactions during initial blockchain sync
39a525c Do not download transactions during inital sync (ptschip)
Diffstat (limited to 'qa/rpc-tests/listtransactions.py')
-rwxr-xr-xqa/rpc-tests/listtransactions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/qa/rpc-tests/listtransactions.py b/qa/rpc-tests/listtransactions.py
index 8a1e3dc4bc..56c5a71fe1 100755
--- a/qa/rpc-tests/listtransactions.py
+++ b/qa/rpc-tests/listtransactions.py
@@ -32,6 +32,11 @@ def check_array_result(object_array, to_match, expected):
class ListTransactionsTest(BitcoinTestFramework):
+ def setup_nodes(self):
+ #This test requires mocktime
+ enable_mocktime()
+ return start_nodes(4, self.options.tmpdir)
+
def run_test(self):
# Simple send, 0 to 1:
txid = self.nodes[0].sendtoaddress(self.nodes[1].getnewaddress(), 0.1)