From 58352d17a16910ca7de94279b7a25c1ac5b0d791 Mon Sep 17 00:00:00 2001 From: Rootul P Date: Tue, 15 Nov 2022 12:11:38 -0700 Subject: [PATCH] feat!: override default mempool params (#1008) Supersedes https://github.com/celestiaorg/celestia-core/pull/885 Closes https://github.com/celestiaorg/celestia-core/issues/812 Closes https://github.com/celestiaorg/celestia-core/issues/867 Closes https://github.com/celestiaorg/celestia-app/issues/590 --- cmd/celestia-appd/cmd/root.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/celestia-appd/cmd/root.go b/cmd/celestia-appd/cmd/root.go index 8dda8a78be..418dd621df 100644 --- a/cmd/celestia-appd/cmd/root.go +++ b/cmd/celestia-appd/cmd/root.go @@ -78,6 +78,9 @@ func NewRootCmd() *cobra.Command { } tmCfg := tmcfg.DefaultConfig() + tmCfg.Mempool.TTLNumBlocks = 10 + tmCfg.Mempool.MaxTxBytes = 2 * 1024 * 1024 // 2 MiB + tmCfg.Mempool.Version = "v1" // prioritized mempool customAppTemplate, customAppConfig := initAppConfig() return server.InterceptConfigsPreRunHandler(cmd, customAppTemplate, customAppConfig, tmCfg)