From a4e4dee48c3b5d15826ef91f487affc9407bdc05 Mon Sep 17 00:00:00 2001 From: Tim Watts Date: Sun, 2 Aug 2015 09:02:09 +0000 Subject: [PATCH] Allow blockchain rpchost to be configurable --- lib/blockchain.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/blockchain.js b/lib/blockchain.js index 3b15b77a..5d6a91d0 100644 --- a/lib/blockchain.js +++ b/lib/blockchain.js @@ -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 + "\" ";