From eed94804c72447ff9712a9f9fdc89a76d747ef25 Mon Sep 17 00:00:00 2001 From: evoskuil Date: Fri, 10 Feb 2017 02:52:38 -0800 Subject: [PATCH] Update cfg and test default URLs. --- data/bx.cfg | 13 +++++++++---- test/commands/command.hpp | 8 ++++---- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/data/bx.cfg b/data/bx.cfg index 88f802ec7..3d69b1488 100644 --- a/data/bx.cfg +++ b/data/bx.cfg @@ -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. diff --git a/test/commands/command.hpp b/test/commands/command.hpp index 426486615..f11c66f65 100644 --- a/test/commands/command.hpp +++ b/test/commands/command.hpp @@ -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; \