set --txlookuplimit as hidden

This commit is contained in:
Danial 2025-07-03 15:47:00 +08:00
parent 97645caf80
commit e1a78c62cf

View file

@ -44,6 +44,10 @@ var DeprecatedFlags = []cli.Flag{
MinerNewPayloadTimeoutFlag, MinerNewPayloadTimeoutFlag,
MinerEtherbaseFlag, MinerEtherbaseFlag,
MiningEnabledFlag, MiningEnabledFlag,
MetricsEnabledExpensiveFlag,
EnablePersonal,
UnlockedAccountFlag,
InsecureUnlockAllowedFlag,
} }
var ( var (
@ -83,6 +87,7 @@ var (
// Deprecated August 2023 // Deprecated August 2023
TxLookupLimitFlag = &cli.Uint64Flag{ TxLookupLimitFlag = &cli.Uint64Flag{
Name: "txlookuplimit", Name: "txlookuplimit",
Hidden: true,
Usage: "Number of recent blocks to maintain transactions index for (default = about one year, 0 = entire chain) (deprecated, use history.transactions instead)", Usage: "Number of recent blocks to maintain transactions index for (default = about one year, 0 = entire chain) (deprecated, use history.transactions instead)",
Value: ethconfig.Defaults.TransactionHistory, Value: ethconfig.Defaults.TransactionHistory,
Category: flags.DeprecatedCategory, Category: flags.DeprecatedCategory,