Merge pull request #138 from lordhelmut/master

thanks for the contribution!
This commit is contained in:
Matias Alejo Garcia 2014-07-25 19:04:45 -03:00
commit 93c47498dc
2 changed files with 2 additions and 1 deletions

View File

@ -71,6 +71,7 @@ var bitcoindConf = {
host: process.env.BITCOIND_HOST || '127.0.0.1',
port: process.env.BITCOIND_PORT || b_port,
p2pPort: process.env.BITCOIND_P2P_PORT || p2p_port,
p2pHost: process.env.BITCOIND_P2P_HOST || process.env.BITCOIND_HOST || '127.0.0.1',
dataDir: dataDir,
// DO NOT CHANGE THIS!
disableAgent: true

View File

@ -27,7 +27,7 @@ function PeerSync(opts) {
PeerSync.prototype.load_peers = function() {
this.peerdb = [{
ipv4: config.bitcoind.host,
ipv4: config.bitcoind.p2pHost,
port: config.bitcoind.p2pPort
}];