mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
fix: modify the comment of txlookuplimit (#344)
This commit is contained in:
parent
65f4d27991
commit
d561a25739
3 changed files with 3 additions and 3 deletions
|
|
@ -227,7 +227,7 @@ var (
|
|||
}
|
||||
TxLookupLimitFlag = cli.Uint64Flag{
|
||||
Name: "txlookuplimit",
|
||||
Usage: "Number of recent blocks to maintain transactions index for (default = about one year, 0 = entire chain)",
|
||||
Usage: "Number of recent blocks to maintain transactions index for (default = about 56 days, 0 = entire chain)",
|
||||
Value: ethconfig.Defaults.TxLookupLimit,
|
||||
}
|
||||
LightKDFFlag = cli.BoolFlag{
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ The ```bor server``` command runs the Bor client.
|
|||
|
||||
- ```cache.preimages```: Enable recording the SHA3/keccak preimages of trie keys.
|
||||
|
||||
- ```txlookuplimit```: Number of recent blocks to maintain transactions index for (default = about one year, 0 = entire chain).
|
||||
- ```txlookuplimit```: Number of recent blocks to maintain transactions index for (default = about 56 days, 0 = entire chain).
|
||||
|
||||
### JsonRPC Options
|
||||
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@ func (c *Command) Flags() *flagset.Flagset {
|
|||
})
|
||||
f.Uint64Flag(&flagset.Uint64Flag{
|
||||
Name: "txlookuplimit",
|
||||
Usage: "Number of recent blocks to maintain transactions index for (default = about one year, 0 = entire chain)",
|
||||
Usage: "Number of recent blocks to maintain transactions index for (default = about 56 days, 0 = entire chain)",
|
||||
Value: &c.cliConfig.Cache.TxLookupLimit,
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue