Merge pull request #145 from SafeMarket/localhost

Localhost
This commit is contained in:
Iuri Matias 2016-02-28 12:54:36 -05:00
commit 6ebbe59892
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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 "