From 566b746ffd514eaecf428b8ed2ce3aa87b83d790 Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Tue, 9 Sep 2014 17:52:15 -0700 Subject: [PATCH] settings: one network config per bitcoin network --- config.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/config.js b/config.js index ab1beb0a8..7bc8ae06c 100644 --- a/config.js +++ b/config.js @@ -15,9 +15,16 @@ var defaultConfig = { // network layer config network: { - host: 'test-insight.bitpay.com', - port: 443, - schema: 'https' + testnet: { + host: 'test-insight.bitpay.com', + port: 443, + schema: 'https' + }, + livenet: { + host: 'insight.bitpay.com', + port: 443, + schema: 'https' + }, }, // wallet default config