mirror of https://github.com/embarklabs/embark.git
commit
6ebbe59892
|
@ -1,8 +1,8 @@
|
||||||
development:
|
development:
|
||||||
rpc_host: localhost
|
rpc_host: localhost
|
||||||
rpc_port: 8101
|
rpc_port: 8101
|
||||||
rpc_whitelist: "*"
|
|
||||||
mine: false
|
mine: false
|
||||||
|
rpc_whitelist: localhost
|
||||||
minerthreads: 1
|
minerthreads: 1
|
||||||
genesis_block: config/genesis/dev_genesis.json
|
genesis_block: config/genesis/dev_genesis.json
|
||||||
datadir: /tmp/embark
|
datadir: /tmp/embark
|
||||||
|
@ -18,7 +18,7 @@ development:
|
||||||
staging:
|
staging:
|
||||||
rpc_host: localhost
|
rpc_host: localhost
|
||||||
rpc_port: 8101
|
rpc_port: 8101
|
||||||
rpc_whitelist: "*"
|
rpc_whitelist: localhost
|
||||||
datadir: default
|
datadir: default
|
||||||
mine: false
|
mine: false
|
||||||
network_id: 0
|
network_id: 0
|
||||||
|
@ -34,7 +34,7 @@ staging:
|
||||||
production:
|
production:
|
||||||
rpc_host: localhost
|
rpc_host: localhost
|
||||||
rpc_port: 8101
|
rpc_port: 8101
|
||||||
rpc_whitelist: "*"
|
rpc_whitelist: localhost
|
||||||
datadir: default
|
datadir: default
|
||||||
network_id: 1
|
network_id: 1
|
||||||
mine: false
|
mine: false
|
||||||
|
|
|
@ -25,7 +25,7 @@ Blockchain.prototype.generate_basic_command = function() {
|
||||||
cmd += "--rpcport " + config.rpcPort + " ";
|
cmd += "--rpcport " + config.rpcPort + " ";
|
||||||
cmd += "--rpcaddr " + config.rpcHost + " ";
|
cmd += "--rpcaddr " + config.rpcHost + " ";
|
||||||
cmd += "--networkid " + config.networkId + " ";
|
cmd += "--networkid " + config.networkId + " ";
|
||||||
cmd += "--rpccorsdomain \"" + config.rpcWhitelist + "\" ";
|
cmd += "--rpccorsdomain " + config.rpcWhitelist + " ";
|
||||||
|
|
||||||
if(config.testnet){
|
if(config.testnet){
|
||||||
cmd += "--testnet "
|
cmd += "--testnet "
|
||||||
|
|
Loading…
Reference in New Issue