mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
rename cli to state.size-tracking
This commit is contained in:
parent
ff2b072416
commit
a4fcb4e8b4
1 changed files with 6 additions and 6 deletions
|
|
@ -270,6 +270,12 @@ var (
|
||||||
Usage: "Scheme to use for storing ethereum state ('hash' or 'path')",
|
Usage: "Scheme to use for storing ethereum state ('hash' or 'path')",
|
||||||
Category: flags.StateCategory,
|
Category: flags.StateCategory,
|
||||||
}
|
}
|
||||||
|
StateSizeTrackingFlag = &cli.BoolFlag{
|
||||||
|
Name: "state.size-tracking",
|
||||||
|
Usage: "Enable state size tracking, retrieve state size with debug_stateSize.",
|
||||||
|
Value: ethconfig.Defaults.EnableStateSizeTracking,
|
||||||
|
Category: flags.StateCategory,
|
||||||
|
}
|
||||||
StateHistoryFlag = &cli.Uint64Flag{
|
StateHistoryFlag = &cli.Uint64Flag{
|
||||||
Name: "history.state",
|
Name: "history.state",
|
||||||
Usage: "Number of recent blocks to retain state history for, only relevant in state.scheme=path (default = 90,000 blocks, 0 = entire chain)",
|
Usage: "Number of recent blocks to retain state history for, only relevant in state.scheme=path (default = 90,000 blocks, 0 = entire chain)",
|
||||||
|
|
@ -628,12 +634,6 @@ var (
|
||||||
TakesFile: true,
|
TakesFile: true,
|
||||||
Category: flags.MiscCategory,
|
Category: flags.MiscCategory,
|
||||||
}
|
}
|
||||||
StateSizeTrackingFlag = &cli.BoolFlag{
|
|
||||||
Name: "state-size-tracking",
|
|
||||||
Usage: "Enable state size tracking",
|
|
||||||
Value: ethconfig.Defaults.EnableStateSizeTracking,
|
|
||||||
Category: flags.MiscCategory,
|
|
||||||
}
|
|
||||||
|
|
||||||
// RPC settings
|
// RPC settings
|
||||||
IPCDisabledFlag = &cli.BoolFlag{
|
IPCDisabledFlag = &cli.BoolFlag{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue