diff options
| author | Patrick Lodder <[email protected]> | 2020-07-22 12:47:28 +0200 |
|---|---|---|
| committer | Patrick Lodder <[email protected]> | 2020-07-22 13:49:54 +0200 |
| commit | 01a71ec71dccb2c2f5d52ea90f7a5d3045dc7725 (patch) | |
| tree | 04b3c97fc6304f7d7ecdde1e70bcad334eb26787 /qa | |
| parent | rpc-tests: fix importprunedfunds for use with dogecoin (diff) | |
| download | discoin-01a71ec71dccb2c2f5d52ea90f7a5d3045dc7725.tar.xz discoin-01a71ec71dccb2c2f5d52ea90f7a5d3045dc7725.zip | |
rpc-tests: fix mempool_limit test
do more rounds of large tx creation to be sure to evict the
targeted tx
Diffstat (limited to 'qa')
| -rwxr-xr-x | qa/rpc-tests/mempool_limit.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/rpc-tests/mempool_limit.py b/qa/rpc-tests/mempool_limit.py index b3fe289c6..f7b4259a6 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], 91) + utxos = create_confirmed_utxos(self.relayfee, self.nodes[0], 181) #create a mempool tx that will be evicted us0 = utxos.pop() @@ -41,7 +41,7 @@ class MempoolLimitTest(BitcoinTestFramework): relayfee = self.nodes[0].getnetworkinfo()['relayfee'] base_fee = relayfee*100 - for i in range (3): + for i in range (6): txids.append([]) txids[i] = create_lots_of_big_transactions(self.nodes[0], self.txouts, utxos[30*i:30*i+30], 30, (i+1)*base_fee) |