Skip to content

Commit

Permalink
fix: modify the comment of txlookuplimit (ethereum#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiziwen authored Apr 20, 2022
1 parent 65f4d27 commit d561a25
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion internal/cli/server/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})

Expand Down

0 comments on commit d561a25

Please sign in to comment.