Allow blockchain rpchost to be configurable

This commit is contained in:
Tim Watts 2015-08-02 09:02:09 +00:00
parent dfdb917032
commit a4e4dee48c
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ Blockchain.prototype.generate_basic_command = function() {
cmd += "--port " + config.port + " ";
cmd += "--rpc ";
cmd += "--rpcport " + config.rpcPort + " ";
cmd += "--rpcaddr " + config.rpcHost + " ";
cmd += "--networkid " + config.networkId + " ";
cmd += "--rpccorsdomain \"" + config.rpcWhitelist + "\" ";