mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
Add deprecation warning for Ellaism
This commit is contained in:
parent
fa6842a21d
commit
4f31f5a413
1 changed files with 7 additions and 0 deletions
|
|
@ -1050,6 +1050,13 @@ func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *eth.Config) {
|
||||||
checkExclusive(ctx, LightServFlag, LightModeFlag)
|
checkExclusive(ctx, LightServFlag, LightModeFlag)
|
||||||
checkExclusive(ctx, LightServFlag, SyncModeFlag, "light")
|
checkExclusive(ctx, LightServFlag, SyncModeFlag, "light")
|
||||||
|
|
||||||
|
if ctx.GlobalIsSet(EllaismFlag.Name) {
|
||||||
|
log.Warn("-------------------------------------------------------------------")
|
||||||
|
log.Warn("multi-geth Ellaism support is deprecated, please upgrade to Parity")
|
||||||
|
log.Warn("(https://github.com/paritytech/parity) before block 2,000,000.")
|
||||||
|
log.Warn("-------------------------------------------------------------------")
|
||||||
|
}
|
||||||
|
|
||||||
ks := stack.AccountManager().Backends(keystore.KeyStoreType)[0].(*keystore.KeyStore)
|
ks := stack.AccountManager().Backends(keystore.KeyStoreType)[0].(*keystore.KeyStore)
|
||||||
setEtherbase(ctx, ks, cfg)
|
setEtherbase(ctx, ks, cfg)
|
||||||
setGPO(ctx, &cfg.GPO)
|
setGPO(ctx, &cfg.GPO)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue