mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
cmd/utils: remove the archive restriction on path
This commit is contained in:
parent
c428df2a6a
commit
30363362ab
1 changed files with 0 additions and 5 deletions
|
|
@ -1661,11 +1661,6 @@ func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *ethconfig.Config) {
|
||||||
cfg.TransactionHistory = 0
|
cfg.TransactionHistory = 0
|
||||||
log.Warn("Disabled transaction unindexing for archive node")
|
log.Warn("Disabled transaction unindexing for archive node")
|
||||||
}
|
}
|
||||||
|
|
||||||
if cfg.StateScheme != rawdb.HashScheme {
|
|
||||||
cfg.StateScheme = rawdb.HashScheme
|
|
||||||
log.Warn("Forcing hash state-scheme for archive mode")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if ctx.IsSet(LogHistoryFlag.Name) {
|
if ctx.IsSet(LogHistoryFlag.Name) {
|
||||||
cfg.LogHistory = ctx.Uint64(LogHistoryFlag.Name)
|
cfg.LogHistory = ctx.Uint64(LogHistoryFlag.Name)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue