mirror of https://github.com/embarklabs/embark.git
update default dev networkid to be the same as --dev option chainId
This commit is contained in:
parent
81e0c9ce77
commit
a09ae900cd
|
@ -23,7 +23,7 @@ var Blockchain = function(options) {
|
||||||
rpcHost: this.blockchainConfig.rpcHost || 'localhost',
|
rpcHost: this.blockchainConfig.rpcHost || 'localhost',
|
||||||
rpcPort: this.blockchainConfig.rpcPort || 8545,
|
rpcPort: this.blockchainConfig.rpcPort || 8545,
|
||||||
rpcCorsDomain: this.blockchainConfig.rpcCorsDomain || false,
|
rpcCorsDomain: this.blockchainConfig.rpcCorsDomain || false,
|
||||||
networkId: this.blockchainConfig.networkId || 12301,
|
networkId: this.blockchainConfig.networkId || 1337,
|
||||||
port: this.blockchainConfig.port || 30303,
|
port: this.blockchainConfig.port || 30303,
|
||||||
nodiscover: this.blockchainConfig.nodiscover || false,
|
nodiscover: this.blockchainConfig.nodiscover || false,
|
||||||
mine: this.blockchainConfig.mine || false,
|
mine: this.blockchainConfig.mine || false,
|
||||||
|
|
|
@ -2,9 +2,10 @@
|
||||||
"development": {
|
"development": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"networkType": "custom",
|
"networkType": "custom",
|
||||||
|
"networkId": "1337",
|
||||||
|
"isDev": true,
|
||||||
"genesisBlock": "config/development/genesis.json",
|
"genesisBlock": "config/development/genesis.json",
|
||||||
"datadir": ".embark/development/datadir",
|
"datadir": ".embark/development/datadir",
|
||||||
"isDev": true,
|
|
||||||
"mineWhenNeeded": true,
|
"mineWhenNeeded": true,
|
||||||
"nodiscover": true,
|
"nodiscover": true,
|
||||||
"maxpeers": 0,
|
"maxpeers": 0,
|
||||||
|
|
|
@ -2,9 +2,10 @@
|
||||||
"development": {
|
"development": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"networkType": "custom",
|
"networkType": "custom",
|
||||||
|
"networkId": "1337",
|
||||||
|
"isDev": true,
|
||||||
"genesisBlock": "config/development/genesis.json",
|
"genesisBlock": "config/development/genesis.json",
|
||||||
"datadir": ".embark/development/datadir",
|
"datadir": ".embark/development/datadir",
|
||||||
"isDev": true,
|
|
||||||
"mineWhenNeeded": true,
|
"mineWhenNeeded": true,
|
||||||
"nodiscover": true,
|
"nodiscover": true,
|
||||||
"maxpeers": 0,
|
"maxpeers": 0,
|
||||||
|
|
|
@ -2,9 +2,10 @@
|
||||||
"development": {
|
"development": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"networkType": "custom",
|
"networkType": "custom",
|
||||||
|
"networkId": "1337",
|
||||||
|
"isDev": true,
|
||||||
"genesisBlock": "development/genesis.json",
|
"genesisBlock": "development/genesis.json",
|
||||||
"datadir": ".embark/development/datadir",
|
"datadir": ".embark/development/datadir",
|
||||||
"isDev": true,
|
|
||||||
"mineWhenNeeded": true,
|
"mineWhenNeeded": true,
|
||||||
"nodiscover": true,
|
"nodiscover": true,
|
||||||
"maxpeers": 0,
|
"maxpeers": 0,
|
||||||
|
|
|
@ -2,9 +2,10 @@
|
||||||
"development": {
|
"development": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"networkType": "custom",
|
"networkType": "custom",
|
||||||
|
"networkId": "1337",
|
||||||
|
"isDev": true,
|
||||||
"genesisBlock": "config/development/genesis.json",
|
"genesisBlock": "config/development/genesis.json",
|
||||||
"datadir": ".embark/development/datadir",
|
"datadir": ".embark/development/datadir",
|
||||||
"isDev": true,
|
|
||||||
"mineWhenNeeded": true,
|
"mineWhenNeeded": true,
|
||||||
"nodiscover": true,
|
"nodiscover": true,
|
||||||
"maxpeers": 0,
|
"maxpeers": 0,
|
||||||
|
|
Loading…
Reference in New Issue