Wallet/config.js

69 lines
1.3 KiB
JavaScript
Raw Normal View History

2014-03-14 17:38:27 -03:00
'use strict';
2014-05-13 14:19:37 -03:00
var defaultConfig = {
// DEFAULT network (livenet or testnet)
2014-08-07 18:10:02 -03:00
networkName: 'testnet',
2014-07-08 12:34:49 -03:00
forceNetwork: false,
2014-09-01 12:04:10 -03:00
logLevel: 'debug',
// DEFAULT unit: Bit
unitName: 'bits',
unitToSatoshi: 100,
2014-08-27 17:15:05 -03:00
alternativeName: 'US Dollar',
alternativeIsoCode: 'USD',
// wallet limits
limits: {
totalCopayers: 12,
2014-08-21 16:02:02 -03:00
mPlusN: 100,
minAmountSatoshi: 5400,
},
2014-08-07 18:10:02 -03:00
// network layer config
2014-04-15 12:17:28 -03:00
network: {
2014-08-25 18:26:26 -03:00
host: 'test-insight.bitpay.com',
port: 443,
schema: 'https'
2014-04-15 12:17:28 -03:00
},
// wallet default config
2014-04-15 10:22:50 -03:00
wallet: {
requiredCopayers: 2,
totalCopayers: 3,
spendUnconfirmed: true,
2014-04-16 17:50:10 -03:00
verbose: 1,
2014-06-30 11:53:20 -03:00
// will duplicate itself after each try
2014-06-09 19:35:30 -03:00
reconnectDelay: 5000,
idleDurationMin: 4
2014-04-15 10:22:50 -03:00
},
// blockchain service API config
2014-04-15 18:23:35 -03:00
blockchain: {
2014-06-26 18:47:27 -03:00
schema: 'https',
2014-08-07 18:10:02 -03:00
host: 'test-insight.bitpay.com',
2014-06-26 18:47:27 -03:00
port: 443,
2014-06-05 12:18:54 -03:00
retryDelay: 1000,
},
// socket service API config
socket: {
2014-06-26 18:47:27 -03:00
schema: 'https',
2014-08-07 18:10:02 -03:00
host: 'test-insight.bitpay.com',
2014-06-26 18:47:27 -03:00
port: 443,
2014-06-30 11:53:20 -03:00
reconnectDelay: 1000,
2014-04-14 17:17:56 -03:00
},
// local encryption/security config
2014-05-07 10:34:05 -03:00
passphrase: {
2014-05-16 12:40:26 -03:00
iterations: 100,
storageSalt: 'mjuBtGybi/4=',
2014-05-07 10:34:05 -03:00
},
2014-08-29 12:09:39 -03:00
rate: {
url: 'https://bitpay.com/api/rates',
updateFrequencySeconds: 60 * 60
},
2014-06-27 17:09:12 -03:00
disableVideo: true,
2014-05-07 10:34:05 -03:00
verbose: 1,
2014-04-08 00:54:38 -03:00
};
2014-07-08 13:03:59 -03:00
if (typeof module !== 'undefined')
module.exports = defaultConfig;