update default dev networkid to be the same as --dev option chainId

This commit is contained in:
Iuri Matias 2018-05-11 10:23:52 -04:00
parent 81e0c9ce77
commit a09ae900cd
5 changed files with 9 additions and 5 deletions

View File

@ -23,7 +23,7 @@ var Blockchain = function(options) {
rpcHost: this.blockchainConfig.rpcHost || 'localhost',
rpcPort: this.blockchainConfig.rpcPort || 8545,
rpcCorsDomain: this.blockchainConfig.rpcCorsDomain || false,
networkId: this.blockchainConfig.networkId || 12301,
networkId: this.blockchainConfig.networkId || 1337,
port: this.blockchainConfig.port || 30303,
nodiscover: this.blockchainConfig.nodiscover || false,
mine: this.blockchainConfig.mine || false,

View File

@ -2,9 +2,10 @@
"development": {
"enabled": true,
"networkType": "custom",
"networkId": "1337",
"isDev": true,
"genesisBlock": "config/development/genesis.json",
"datadir": ".embark/development/datadir",
"isDev": true,
"mineWhenNeeded": true,
"nodiscover": true,
"maxpeers": 0,

View File

@ -2,9 +2,10 @@
"development": {
"enabled": true,
"networkType": "custom",
"networkId": "1337",
"isDev": true,
"genesisBlock": "config/development/genesis.json",
"datadir": ".embark/development/datadir",
"isDev": true,
"mineWhenNeeded": true,
"nodiscover": true,
"maxpeers": 0,

View File

@ -2,9 +2,10 @@
"development": {
"enabled": true,
"networkType": "custom",
"networkId": "1337",
"isDev": true,
"genesisBlock": "development/genesis.json",
"datadir": ".embark/development/datadir",
"isDev": true,
"mineWhenNeeded": true,
"nodiscover": true,
"maxpeers": 0,

View File

@ -2,9 +2,10 @@
"development": {
"enabled": true,
"networkType": "custom",
"networkId": "1337",
"isDev": true,
"genesisBlock": "config/development/genesis.json",
"datadir": ".embark/development/datadir",
"isDev": true,
"mineWhenNeeded": true,
"nodiscover": true,
"maxpeers": 0,