Allow blockchain rpchost to be configurable
This commit is contained in:
parent
dfdb917032
commit
a4e4dee48c
|
@ -18,6 +18,7 @@ Blockchain.prototype.generate_basic_command = function() {
|
||||||
cmd += "--port " + config.port + " ";
|
cmd += "--port " + config.port + " ";
|
||||||
cmd += "--rpc ";
|
cmd += "--rpc ";
|
||||||
cmd += "--rpcport " + config.rpcPort + " ";
|
cmd += "--rpcport " + config.rpcPort + " ";
|
||||||
|
cmd += "--rpcaddr " + config.rpcHost + " ";
|
||||||
cmd += "--networkid " + config.networkId + " ";
|
cmd += "--networkid " + config.networkId + " ";
|
||||||
cmd += "--rpccorsdomain \"" + config.rpcWhitelist + "\" ";
|
cmd += "--rpccorsdomain \"" + config.rpcWhitelist + "\" ";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue