settings: one network config per bitcoin network

This commit is contained in:
Manuel Araoz 2014-09-09 17:52:15 -07:00
parent a619970b48
commit 566b746ffd
1 changed files with 10 additions and 3 deletions

View File

@ -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