rpc-tests: fix mempool_limit test

do more rounds of large tx creation to be sure to evict the
targeted tx
This commit is contained in:
Patrick Lodder 2020-07-22 12:47:28 +02:00
parent 022bcfb064
commit 01a71ec71d
No known key found for this signature in database
GPG Key ID: 2D3A345B98D0DC1F

View File

@ -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)