mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 13:07:17 +00:00
cmd/utils, eth/ethconfig: unindex txs older than ~1 year
# Conflicts: # eth/ethconfig/config.go
This commit is contained in:
parent
17f1258539
commit
e7bffb64eb
@ -215,10 +215,10 @@ var (
|
||||
Usage: `Time of tick`,
|
||||
Value: time.Second * 2,
|
||||
}
|
||||
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,
|
||||
}
|
||||
LightServFlag = cli.IntFlag{
|
||||
Name: "lightserv",
|
||||
|
@ -68,6 +68,7 @@ var Defaults = Config{
|
||||
DatasetsLockMmap: false,
|
||||
},
|
||||
NetworkID: 1,
|
||||
TxLookupLimit: 2350000,
|
||||
LightPeers: 100,
|
||||
UltraLightFraction: 75,
|
||||
DatabaseCache: 512,
|
||||
|
Loading…
Reference in New Issue
Block a user