2014-03-14 13:38:27 -07:00
|
|
|
'use strict';
|
2014-05-13 10:19:37 -07:00
|
|
|
var defaultConfig = {
|
2014-06-16 08:44:18 -07:00
|
|
|
// 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-06-02 08:55:32 -07:00
|
|
|
|
2014-06-16 08:44:18 -07:00
|
|
|
// DEFAULT unit: Bit
|
|
|
|
unitName: 'bits',
|
|
|
|
unitToSatoshi: 100,
|
|
|
|
|
2014-06-02 08:55:32 -07:00
|
|
|
// wallet limits
|
|
|
|
limits: {
|
|
|
|
totalCopayers: 12,
|
2014-08-21 12:02:02 -07:00
|
|
|
mPlusN: 100,
|
|
|
|
minAmountSatoshi: 5400,
|
2014-06-02 08:55:32 -07:00
|
|
|
},
|
|
|
|
|
2014-08-07 14:10:02 -07:00
|
|
|
// network layer config
|
2014-04-15 08:17:28 -07:00
|
|
|
network: {
|
2014-08-07 14:10:02 -07:00
|
|
|
host: 'localhost',
|
|
|
|
port: 3001
|
2014-04-15 08:17:28 -07:00
|
|
|
},
|
2014-06-02 08:55:32 -07:00
|
|
|
|
|
|
|
// wallet default config
|
2014-04-15 06:22:50 -07:00
|
|
|
wallet: {
|
|
|
|
requiredCopayers: 2,
|
|
|
|
totalCopayers: 3,
|
2014-06-19 06:30:53 -07:00
|
|
|
spendUnconfirmed: true,
|
2014-04-16 13:50:10 -07:00
|
|
|
verbose: 1,
|
2014-06-30 07:53:20 -07:00
|
|
|
// will duplicate itself after each try
|
2014-06-09 15:35:30 -07:00
|
|
|
reconnectDelay: 5000,
|
2014-08-15 09:49:16 -07:00
|
|
|
idleDurationMin: 4
|
2014-04-15 06:22:50 -07:00
|
|
|
},
|
2014-06-02 08:55:32 -07:00
|
|
|
|
|
|
|
// blockchain service API config
|
2014-04-15 14:23:35 -07:00
|
|
|
blockchain: {
|
2014-06-26 14:47:27 -07:00
|
|
|
schema: 'https',
|
2014-08-07 14:10:02 -07:00
|
|
|
host: 'test-insight.bitpay.com',
|
2014-06-26 14:47:27 -07:00
|
|
|
port: 443,
|
2014-06-05 08:18:54 -07:00
|
|
|
retryDelay: 1000,
|
2014-04-17 02:43:30 -07:00
|
|
|
},
|
2014-06-02 08:55:32 -07:00
|
|
|
// socket service API config
|
2014-04-17 02:43:30 -07:00
|
|
|
socket: {
|
2014-06-26 14:47:27 -07:00
|
|
|
schema: 'https',
|
2014-08-07 14:10:02 -07:00
|
|
|
host: 'test-insight.bitpay.com',
|
2014-06-26 14:47:27 -07:00
|
|
|
port: 443,
|
2014-06-30 07:53:20 -07:00
|
|
|
reconnectDelay: 1000,
|
2014-04-14 13:17:56 -07:00
|
|
|
},
|
2014-06-02 08:55:32 -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,
|
2014-06-16 08:44:18 -07:00
|
|
|
storageSalt: 'mjuBtGybi/4=',
|
2014-05-07 06:34:05 -07:00
|
|
|
},
|
2014-06-02 08:55:32 -07:00
|
|
|
|
2014-06-27 13:09:12 -07:00
|
|
|
disableVideo: true,
|
2014-05-07 06:34:05 -07:00
|
|
|
verbose: 1,
|
2014-04-07 20:54:38 -07:00
|
|
|
};
|
2014-07-08 09:03:59 -07:00
|
|
|
if (typeof module !== 'undefined')
|
|
|
|
module.exports = defaultConfig;
|