mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
feat: allow trie prefetch (#795)
* allow prefetch * chore: auto version bump [bot] * chore: auto version bump [bot] --------- Co-authored-by: Péter Garamvölgyi <peter@scroll.io> Co-authored-by: Thegaram <Thegaram@users.noreply.github.com> Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
This commit is contained in:
parent
c2d7bd8935
commit
ccf6321b92
2 changed files with 1 additions and 7 deletions
|
|
@ -1814,9 +1814,6 @@ func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *ethconfig.Config) {
|
|||
}
|
||||
log.Info("Pruning disabled")
|
||||
cfg.NoPruning = true
|
||||
// disable prefetch
|
||||
log.Info("Prefetch disabled")
|
||||
cfg.NoPrefetch = true
|
||||
case ctx.GlobalBool(ScrollFlag.Name):
|
||||
if !ctx.GlobalIsSet(NetworkIdFlag.Name) {
|
||||
cfg.NetworkId = 534352
|
||||
|
|
@ -1833,9 +1830,6 @@ func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *ethconfig.Config) {
|
|||
}
|
||||
log.Info("Pruning disabled")
|
||||
cfg.NoPruning = true
|
||||
// disable prefetch
|
||||
log.Info("Prefetch disabled")
|
||||
cfg.NoPrefetch = true
|
||||
case ctx.GlobalBool(DeveloperFlag.Name):
|
||||
if !ctx.GlobalIsSet(NetworkIdFlag.Name) {
|
||||
cfg.NetworkId = 1337
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ import (
|
|||
const (
|
||||
VersionMajor = 5 // Major version component of the current release
|
||||
VersionMinor = 3 // Minor version component of the current release
|
||||
VersionPatch = 37 // Patch version component of the current release
|
||||
VersionPatch = 38 // Patch version component of the current release
|
||||
VersionMeta = "mainnet" // Version metadata to append to the version string
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue