'use strict'; var defaultConfig = { // DEFAULT network (livenet or testnet) networkName: 'testnet', forceNetwork: false, logLevel: 'info', // DEFAULT unit: Bit unitName: 'bits', unitToSatoshi: 100, alternativeName: 'US Dollar', alternativeIsoCode: 'USD', // wallet limits limits: { totalCopayers: 12, mPlusN: 100, minAmountSatoshi: 5400, }, // network layer config network: { host: 'test-insight.bitpay.com', port: 443, schema: 'https' }, // wallet default config wallet: { requiredCopayers: 2, totalCopayers: 3, spendUnconfirmed: true, verbose: 1, // will duplicate itself after each try reconnectDelay: 5000, idleDurationMin: 4 }, // blockchain service API config blockchain: { schema: 'https', host: 'test-insight.bitpay.com', port: 443, retryDelay: 1000, }, // socket service API config socket: { schema: 'https', host: 'test-insight.bitpay.com', port: 443, reconnectDelay: 1000, }, // local encryption/security config passphrase: { iterations: 100, storageSalt: 'mjuBtGybi/4=', }, rate: { url: 'https://bitpay.com/api/rates', updateFrequencySeconds: 60 * 60 }, verbose: 1, }; if (typeof module !== 'undefined') module.exports = defaultConfig;