From 16ed49feaa33a269158f0df12d349179be1be234 Mon Sep 17 00:00:00 2001 From: ABW Date: Wed, 30 Oct 2024 18:49:29 +0100 Subject: [PATCH] reduce default max-mempool-size from 1G to 100M With other limits in place it is hard to actually reach even half of that value. --- libraries/plugins/chain/chain_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/plugins/chain/chain_plugin.cpp b/libraries/plugins/chain/chain_plugin.cpp index 92adcd7423..7c0f116f4d 100644 --- a/libraries/plugins/chain/chain_plugin.cpp +++ b/libraries/plugins/chain/chain_plugin.cpp @@ -1425,7 +1425,7 @@ void chain_plugin::set_program_options(options_description& cli, options_descrip ("rc-stats-report-type", bpo::value()->default_value( "REGULAR" ), "Level of detail of daily RC stat reports: NONE, MINIMAL, REGULAR, FULL. Default REGULAR." ) ("rc-stats-report-output", bpo::value()->default_value( "ILOG" ), "Where to put daily RC stat reports: DLOG, ILOG, NOTIFY, LOG_NOTIFY. Default ILOG." ) ("block-log-split", bpo::value()->default_value( 9999 ), "Whether the block log should be single file (-1), not used at all & keeping only head block in memory (0), or split into files each containing 1M blocks & keeping N full million latest blocks (N). Default 9999." ) - ("max-mempool-size", bpo::value()->default_value( "1G" ), "Postponed transactions that exceed limit are dropped from pending. Setting 0 means only pending transactions that fit in reapplication window of 200ms will stay in mempool.") + ("max-mempool-size", bpo::value()->default_value( "100M" ), "Postponed transactions that exceed limit are dropped from pending. Setting 0 means only pending transactions that fit in reapplication window of 200ms will stay in mempool.") ("rc-flood-level", bpo::value()->default_value( 20 ), "Number of full blocks that can be present in mempool before RC surcharge is applied. 0-65535. Default 20 (one minute of full blocks).") ("rc-flood-surcharge", bpo::value()->default_value( HIVE_100_PERCENT ), "Multiplication factor for temporary extra RC cost charged for each block above flood level before transaction is allowed to enter and remain in pending. 0-10000. Default 10000 (100%).") ;