From 915f97b3506fb057e0dfa62e09b9aa526e64e7ba Mon Sep 17 00:00:00 2001 From: lordhelmut Date: Thu, 31 Jul 2014 14:53:03 -0700 Subject: [PATCH] Documentation updates for BITCOIN_P2P_HOST --- README.md | 1 + config/config.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index a1a4ff09..4fcd0038 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,7 @@ All configuration is specified in the [config](config/) folder, particularly the ``` BITCOIND_HOST # RPC bitcoind host BITCOIND_PORT # RPC bitcoind Port +BITCOIND_P2P_HOST # P2P bitcoind Host (will default to BITCOIND_HOST, if specified) BITCOIND_P2P_PORT # P2P bitcoind Port BITCOIND_USER # RPC username BITCOIND_PASS # RPC password diff --git a/config/config.js b/config/config.js index 48d359a1..179f0de2 100644 --- a/config/config.js +++ b/config/config.js @@ -98,6 +98,7 @@ console.log( \t\tRPC Protocol: %s\tBITCOIND_PROTO\n\ \t\tRPC Host: %s\tBITCOIND_HOST\n\ \t\tRPC Port: %s\tBITCOIND_PORT\n\ +\t\tP2P Host: %s\tBITCOIND_P2P_HOST\n\ \t\tP2P Port: %s\tBITCOIND_P2P_PORT\n\ \t\tData Dir: %s\tBITCOIND_DATADIR\n\ \t\t%s\n\ @@ -111,6 +112,7 @@ bitcoindConf.pass?'Yes(hidden)':'No', bitcoindConf.protocol, bitcoindConf.host, bitcoindConf.port, +bitcoindConf.p2pHost, bitcoindConf.p2pPort, dataDir+(network==='testnet'?'*':''), (network==='testnet'?'* (/testnet3 is added automatically)':'')