cmd/utils, eth/ethconfig: unindex txs older than ~1 year
This commit is contained in:
@ -212,10 +212,10 @@ var (
|
||||
Name: "snapshot",
|
||||
Usage: `Enables snapshot-database mode (default = enable)`,
|
||||
}
|
||||
TxLookupLimitFlag = cli.Int64Flag{
|
||||
TxLookupLimitFlag = cli.Uint64Flag{
|
||||
Name: "txlookuplimit",
|
||||
Usage: "Number of recent blocks to maintain transactions index by-hash for (default = index all blocks)",
|
||||
Value: 0,
|
||||
Usage: "Number of recent blocks to maintain transactions index for (default = about one year, 0 = entire chain)",
|
||||
Value: ethconfig.Defaults.TxLookupLimit,
|
||||
}
|
||||
LightKDFFlag = cli.BoolFlag{
|
||||
Name: "lightkdf",
|
||||
|
Reference in New Issue
Block a user