|
|
|
@ -146,11 +146,6 @@ var ( |
|
|
|
|
Usage: "Megabytes of memory allocated to internal caching (min 16MB / database forced)", |
|
|
|
|
Value: 128, |
|
|
|
|
} |
|
|
|
|
BlockchainVersionFlag = cli.IntFlag{ |
|
|
|
|
Name: "blockchainversion", |
|
|
|
|
Usage: "Blockchain version (integer)", |
|
|
|
|
Value: core.BlockChainVersion, |
|
|
|
|
} |
|
|
|
|
FastSyncFlag = cli.BoolFlag{ |
|
|
|
|
Name: "fast", |
|
|
|
|
Usage: "Enable fast syncing through state downloads", |
|
|
|
@ -681,7 +676,6 @@ func RegisterEthService(ctx *cli.Context, stack *node.Node, extra []byte) { |
|
|
|
|
Etherbase: MakeEtherbase(stack.AccountManager(), ctx), |
|
|
|
|
ChainConfig: MustMakeChainConfig(ctx), |
|
|
|
|
FastSync: ctx.GlobalBool(FastSyncFlag.Name), |
|
|
|
|
BlockChainVersion: ctx.GlobalInt(BlockchainVersionFlag.Name), |
|
|
|
|
DatabaseCache: ctx.GlobalInt(CacheFlag.Name), |
|
|
|
|
DatabaseHandles: MakeDatabaseHandles(), |
|
|
|
|
NetworkId: ctx.GlobalInt(NetworkIdFlag.Name), |
|
|
|
|