Skip to content

Commit

Permalink
Update cfg and test default URLs.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Feb 10, 2017
1 parent 5a46073 commit eed9480
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
13 changes: 9 additions & 4 deletions data/bx.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,15 @@ seed = dnsseed.bitcoin.dashjr.org:8333
#seed = testnet-seed.bitcoin.schildbach.de:18333

[server]
# The URL of the default testnet libbitcoin server.
#url = tcp://libbitcoin1.thecodefactory.org:19091
# The URL of the default mainnet libbitcoin server.
url = tcp://libbitcoin1.thecodefactory.org:9091
# The URL of the default hidden testnet libbitcoin query service.
#url = tcp://rmrai2ifbed2bf55.onion:19091
# The URL of the default testnet libbitcoin query service.
#url = tcp://testnet1.libbitcoin.net:19091
# The URL of the default hidden mainnet libbitcoin query service.
#url = tcp://sqax52n5enkw4dsj.onion:9091
# The URL of the default mainnet libbitcoin query service.
url = tcp://mainnet1.libbitcoin.net:9091

# The address of a SOCKS5 proxy, defaults to none.
socks_proxy = 0.0.0.0:0
# The number of times to retry contacting a server, defaults to 0.
Expand Down
8 changes: 4 additions & 4 deletions test/commands/command.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ using namespace bc::explorer::config;
// Default network parameters.
#define BX_NETWORK_RETRY 0
#define BX_NETWORK_TIMEOUT 3
#define BX_MAINNET_HOST "50.244.13.28"
#define BX_MAINNET_HOST "50.244.13.27"
#define BX_MAINNET_PORT 8333

// Libbitcoin Server (production)
#define BX_MAINNET_SERVER "tcp://libbitcoin1.thecodefactory.org:9091"
// Libbitcoin Server (mainnet)
#define BX_MAINNET_SERVER "tcp://mainnet1.libbitcoin.net:9091"

// Libbitcoin Server (testnet)
#define BX_TESTNET_SERVER "tcp://libbitcoin1.thecodefactory.org:19091"
#define BX_TESTNET_SERVER "tcp://testnet1.libbitcoin.net:19091"

#define BX_DECLARE_COMMAND(extension) \
std::stringstream output, error; \
Expand Down

0 comments on commit eed9480

Please sign in to comment.