Skip to content

Commit 5c1268d

Browse files
committed
mempool fill fixes
1 parent e57cfea commit 5c1268d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

test/functional/test_framework/mempool_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def fill_mempool(test_framework, node, *, tx_sync_fun=None):
5454
minrelayfee = node.getnetworkinfo()['relayfee']
5555

5656
tx_batch_size = 1
57-
num_of_batches = 73
57+
num_of_batches = 77
5858
# Generate UTXOs to flood the mempool
5959
# 1 to create a tx initially that will be evicted from the mempool later
6060
# 74 transactions each with a fee rate higher than the previous one

test/functional/test_framework/util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,8 +580,8 @@ def check_node_connections(*, node, num_in, num_out):
580580
def gen_return_txouts():
581581
from .messages import CTxOut, CTxOutValue
582582
from .script import CScript, OP_RETURN
583-
txouts = [CTxOut(nValue=CTxOutValue(0), scriptPubKey=CScript([OP_RETURN, b'\x01'*67437]))]
584-
assert_equal(sum([len(txout.serialize()) for txout in txouts]), 67491)
583+
txouts = [CTxOut(nValue=CTxOutValue(0), scriptPubKey=CScript([OP_RETURN, b'\x01'*64760]))]
584+
assert_equal(sum([len(txout.serialize()) for txout in txouts]), 64810)
585585
return txouts
586586

587587

0 commit comments

Comments
 (0)