diff options
author | MarcoFalke <falke.marco@gmail.com> | 2016-12-04 16:16:11 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-12-04 21:30:20 +0100 |
commit | fa2ecc48fb84f5d74807acb162b46ccece6f4caa (patch) | |
tree | 5177a77b79e94c44bea535280722f0b49292b2ae /qa/rpc-tests/mempool_limit.py | |
parent | 9e4bb312e6958d2baa309ba670e5eed1523c6f47 (diff) |
[qa] pruning: Use cached utxo set to run faster
Diffstat (limited to 'qa/rpc-tests/mempool_limit.py')
-rwxr-xr-x | qa/rpc-tests/mempool_limit.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qa/rpc-tests/mempool_limit.py b/qa/rpc-tests/mempool_limit.py index 4438c152df..154ae59c26 100755 --- a/qa/rpc-tests/mempool_limit.py +++ b/qa/rpc-tests/mempool_limit.py @@ -26,7 +26,7 @@ class MempoolLimitTest(BitcoinTestFramework): def run_test(self): txids = [] - utxos = create_confirmed_utxos(self.relayfee, self.nodes[0], 90) + utxos = create_confirmed_utxos(self.relayfee, self.nodes[0], 91) #create a mempool tx that will be evicted us0 = utxos.pop() @@ -41,9 +41,9 @@ class MempoolLimitTest(BitcoinTestFramework): relayfee = self.nodes[0].getnetworkinfo()['relayfee'] base_fee = relayfee*100 - for i in range (4): + for i in range (3): txids.append([]) - txids[i] = create_lots_of_big_transactions(self.nodes[0], self.txouts, utxos[30*i:30*i+30], (i+1)*base_fee) + txids[i] = create_lots_of_big_transactions(self.nodes[0], self.txouts, utxos[30*i:30*i+30], 30, (i+1)*base_fee) # by now, the tx should be evicted, check confirmation state assert(txid not in self.nodes[0].getrawmempool()) |