We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f91ee2 commit ca0b1deCopy full SHA for ca0b1de
server/config/config.go
@@ -304,7 +304,7 @@ func DefaultConfig() *Config {
304
},
305
306
Mempool: MempoolConfig{
307
- MaxTxs: 0,
+ MaxTxs: 5_000,
308
309
}
310
server/config/toml.go
@@ -225,6 +225,9 @@ fsync = "{{ .Streamers.File.Fsync }}"
225
###############################################################################
226
227
[mempool]
228
+# Setting max-txs to 0 will allow for a unbounded amount of transactions in the mempool.
229
+# Setting max_txs to negative 1 (-1) will disable transactions from being inserted into the mempool.
230
+# Setting max_txs to a positive number (> 0) will limit the number of transactions in the mempool, by the specified amount.
231
max-txs = "{{ .Mempool.MaxTxs }}"
232
233
`
0 commit comments