mirror of https://github.com/BTCPrivate/copay.git
61 lines
1.1 KiB
JavaScript
61 lines
1.1 KiB
JavaScript
'use strict';
|
|
var defaultConfig = {
|
|
// DEFAULT network (livenet or testnet)
|
|
networkName: 'testnet',
|
|
forceNetwork: false,
|
|
|
|
// DEFAULT unit: Bit
|
|
unitName: 'bits',
|
|
unitToSatoshi: 100,
|
|
|
|
// wallet limits
|
|
limits: {
|
|
totalCopayers: 12,
|
|
mPlusN: 100,
|
|
minAmountSatoshi: 5400,
|
|
},
|
|
|
|
// network layer config
|
|
network: {
|
|
host: 'localhost',
|
|
port: 3001
|
|
},
|
|
|
|
// 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=',
|
|
},
|
|
|
|
disableVideo: true,
|
|
verbose: 1,
|
|
};
|
|
if (typeof module !== 'undefined')
|
|
module.exports = defaultConfig;
|