mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-10 01:56:37 +00:00
cmd/utils: show full deprecated flags (#32141)
This is a follow up PR after #32128 , Seems I've missed to add --txlookuplimit as hidden. In hte meanwhile, I also add the other deprecated flags into the output of `show-deprecated-flags`
This commit is contained in:
parent
ef6e92e51d
commit
f786b2a767
1 changed files with 5 additions and 0 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue