fix(mempool): use no-op mempool as default (backport #19970) (#20008)

Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
mergify[bot]
2024-04-11 17:48:11 +02:00
committed by GitHub
co-authored by Tom marbar3778 Julien Robert
parent 525b720871
commit f76c659fd2
8 changed files with 15 additions and 14 deletions
+2 -2
View File
@@ -227,9 +227,9 @@ stop-node-on-err = true
[mempool]
# Setting max-txs to 0 will allow for a unbounded amount of transactions in the mempool.
# Setting max_txs to negative 1 (-1) will disable transactions from being inserted into the mempool.
# Setting max_txs to negative 1 (-1) will disable transactions from being inserted into the mempool (no-op mempool).
# Setting max_txs to a positive number (> 0) will limit the number of transactions in the mempool, by the specified amount.
#
# Note, this configuration only applies to SDK built-in app-side mempool
# implementations.
max-txs = 5000
max-txs = -1