mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-01-31 10:30:52 +00:00
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:
parent
022bcfb064
commit
01a71ec71d
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user