LES Mode: Fix config so that node starts properly.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
This commit is contained in:
Igor Mandrigin 2018-10-02 12:08:32 +02:00
parent 8e317afe65
commit 977dc5edf8
No known key found for this signature in database
GPG Key ID: 4A0EDDE26E66BC8B
1 changed files with 9 additions and 6 deletions

View File

@ -37,8 +37,9 @@
(def mainnet-networks (def mainnet-networks
{"mainnet" {:id "mainnet", {"mainnet" {:id "mainnet",
:name "Mainnet", :name "Mainnet",
:config {:NetworkId (ethereum/chain-keyword->chain-id :mainnet) :config {:NetworkId (ethereum/chain-keyword->chain-id :mainnet)
:DataDir "/ethereum/mainnet"}} :DataDir "/ethereum/mainnet"
:LightEthConfig {:Enabled true}}}
"mainnet_rpc" {:id "mainnet_rpc", "mainnet_rpc" {:id "mainnet_rpc",
:name "Mainnet with upstream RPC", :name "Mainnet with upstream RPC",
:config {:NetworkId (ethereum/chain-keyword->chain-id :mainnet) :config {:NetworkId (ethereum/chain-keyword->chain-id :mainnet)
@ -49,8 +50,9 @@
(def testnet-networks (def testnet-networks
{"testnet" {:id "testnet", {"testnet" {:id "testnet",
:name "Ropsten", :name "Ropsten",
:config {:NetworkId (ethereum/chain-keyword->chain-id :testnet) :config {:NetworkId (ethereum/chain-keyword->chain-id :testnet)
:DataDir "/ethereum/testnet"}} :DataDir "/ethereum/testnet"
:LightEthConfig {:Enabled true}}}
"testnet_rpc" {:id "testnet_rpc", "testnet_rpc" {:id "testnet_rpc",
:name "Ropsten with upstream RPC", :name "Ropsten with upstream RPC",
:config {:NetworkId (ethereum/chain-keyword->chain-id :testnet) :config {:NetworkId (ethereum/chain-keyword->chain-id :testnet)
@ -59,8 +61,9 @@
:URL "https://ropsten.infura.io/z6GCTmjdP3FETEJmMBI4"}}} :URL "https://ropsten.infura.io/z6GCTmjdP3FETEJmMBI4"}}}
"rinkeby" {:id "rinkeby", "rinkeby" {:id "rinkeby",
:name "Rinkeby", :name "Rinkeby",
:config {:NetworkId (ethereum/chain-keyword->chain-id :rinkeby) :config {:NetworkId (ethereum/chain-keyword->chain-id :rinkeby)
:DataDir "/ethereum/rinkeby"}} :DataDir "/ethereum/rinkeby"
:LightEthConfig {:Enabled true}}}
"rinkeby_rpc" {:id "rinkeby_rpc", "rinkeby_rpc" {:id "rinkeby_rpc",
:name "Rinkeby with upstream RPC", :name "Rinkeby with upstream RPC",
:config {:NetworkId (ethereum/chain-keyword->chain-id :rinkeby) :config {:NetworkId (ethereum/chain-keyword->chain-id :rinkeby)