mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-14 16:03:45 +00:00
Disable fast sync support
This commit is contained in:
parent
96ce78002b
commit
440b5a2242
1 changed files with 2 additions and 2 deletions
|
|
@ -139,7 +139,7 @@ var (
|
||||||
}
|
}
|
||||||
FastSyncFlag = cli.BoolFlag{
|
FastSyncFlag = cli.BoolFlag{
|
||||||
Name: "fast",
|
Name: "fast",
|
||||||
Usage: "Enable fast syncing through state downloads",
|
Usage: "Enable fast syncing through state downloads - Currently UNSUPPORTED",
|
||||||
}
|
}
|
||||||
LightModeFlag = cli.BoolFlag{
|
LightModeFlag = cli.BoolFlag{
|
||||||
Name: "light",
|
Name: "light",
|
||||||
|
|
@ -731,7 +731,7 @@ func RegisterEthService(ctx *cli.Context, stack *node.Node, extra []byte) {
|
||||||
ethConf := ð.Config{
|
ethConf := ð.Config{
|
||||||
Etherbase: MakeEtherbase(ks, ctx),
|
Etherbase: MakeEtherbase(ks, ctx),
|
||||||
ChainConfig: MakeChainConfig(ctx, stack),
|
ChainConfig: MakeChainConfig(ctx, stack),
|
||||||
FastSync: ctx.GlobalBool(FastSyncFlag.Name),
|
FastSync: false,
|
||||||
LightMode: ctx.GlobalBool(LightModeFlag.Name),
|
LightMode: ctx.GlobalBool(LightModeFlag.Name),
|
||||||
LightServ: ctx.GlobalInt(LightServFlag.Name),
|
LightServ: ctx.GlobalInt(LightServFlag.Name),
|
||||||
LightPeers: ctx.GlobalInt(LightPeersFlag.Name),
|
LightPeers: ctx.GlobalInt(LightPeersFlag.Name),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue