copay/config.js

56 lines
1.0 KiB
JavaScript
Raw Normal View History

2014-03-14 13:38:27 -07:00
'use strict';
2014-05-13 10:19:37 -07:00
var defaultConfig = {
defaultLanguage: 'en',
// DEFAULT network (livenet or testnet)
2014-08-07 14:10:02 -07:00
networkName: 'testnet',
2014-07-08 08:34:49 -07:00
forceNetwork: false,
2014-09-01 12:43:50 -07:00
logLevel: 'info',
// wallet limits
limits: {
totalCopayers: 12,
2014-08-21 12:02:02 -07:00
mPlusN: 100,
},
2014-08-07 14:10:02 -07:00
// network layer config
2014-04-15 08:17:28 -07:00
network: {
testnet: {
2014-09-10 13:15:19 -07:00
url: 'https://test-insight.bitpay.com:443'
},
livenet: {
2014-09-10 13:15:19 -07:00
url: 'https://insight.bitpay.com:443'
},
2014-04-15 08:17:28 -07:00
},
// wallet default config
2014-04-15 06:22:50 -07:00
wallet: {
requiredCopayers: 2,
totalCopayers: 3,
spendUnconfirmed: true,
2014-06-09 15:35:30 -07:00
reconnectDelay: 5000,
2014-09-03 09:17:59 -07:00
idleDurationMin: 4,
settings: {
unitName: 'bits',
unitToSatoshi: 100,
2014-09-03 12:24:25 -07:00
unitDecimals: 2,
2014-09-03 09:17:59 -07:00
alternativeName: 'US Dollar',
alternativeIsoCode: 'USD',
}
2014-04-15 06:22:50 -07:00
},
// local encryption/security config
2014-05-07 06:34:05 -07:00
passphrase: {
2014-05-16 08:40:26 -07:00
iterations: 100,
storageSalt: 'mjuBtGybi/4=',
2014-05-07 06:34:05 -07:00
},
2014-08-29 08:09:39 -07:00
rate: {
url: 'https://bitpay.com/api/rates',
updateFrequencySeconds: 60 * 60
},
2014-04-07 20:54:38 -07:00
};
2014-07-08 09:03:59 -07:00
if (typeof module !== 'undefined')
2014-09-03 09:17:59 -07:00
module.exports = defaultConfig;