Wallet/config.js

96 lines
2.2 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-09-22 14:53:11 -03:00
networkName: 'livenet',
2014-10-31 20:10:11 -03:00
logLevel: 'info',
// wallet limits
limits: {
2014-12-05 16:51:47 -03:00
totalCopayers: 6,
2014-08-21 16:02:02 -03:00
mPlusN: 100,
},
2014-08-07 18:10:02 -03:00
// network layer config
2014-04-15 12:17:28 -03:00
network: {
testnet: {
url: 'https://test-insight.bitpay.com:443',
transports: ['polling'],
},
livenet: {
url: 'https://insight.bitpay.com:443',
transports: ['polling'],
},
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-06-09 19:35:30 -03:00
reconnectDelay: 5000,
2014-09-03 13:17:59 -03:00
idleDurationMin: 4,
settings: {
unitName: 'bits',
unitToSatoshi: 100,
2014-09-03 16:24:25 -03:00
unitDecimals: 2,
2014-09-03 13:17:59 -03:00
alternativeName: 'US Dollar',
alternativeIsoCode: 'USD',
}
2014-04-15 10:22:50 -03:00
},
// local encryption/security config
passphraseConfig: {
2014-12-06 22:40:36 -03:00
iterations: 5000,
storageSalt: 'mjuBtGybi/4=',
2014-05-07 10:34:05 -03:00
},
2014-11-28 11:23:08 -03:00
rates: {
url: 'https://insight.bitpay.com:443/api/rates',
2014-08-29 12:09:39 -03:00
},
2014-09-01 15:13:23 -03:00
verbose: 1,
plugins: {
//LocalStorage: true,
2014-11-07 17:35:32 -03:00
// EncryptedLocalStorage: true,
2014-09-19 17:30:56 -03:00
//GoogleDrive: true,
2014-10-24 09:36:28 -03:00
//InsightStorage: true
2014-10-30 16:20:25 -03:00
EncryptedInsightStorage: true,
2014-10-23 15:47:24 -03:00
},
2014-11-10 16:32:55 -03:00
// This can be changed on the UX > Settings > Insight livenet
EncryptedInsightStorage: {
2014-11-10 16:32:55 -03:00
url: 'https://insight.bitpay.com:443/api/email',
2014-11-10 22:58:46 -03:00
//url: 'http://localhost:3001/api/email'
// This KDF parameters are for the passphrase for Insight authentication
// Are not related to encryption itself.
//
// WARN: Changing this parameters would prevent accesing previously created profiles.
iterations: 1000,
salt: 'jBbYTj8zTrOt6V',
2014-09-01 15:13:23 -03:00
},
2014-12-18 20:05:13 -03:00
minPasswordStrength: 4,
2014-12-12 11:21:48 -03:00
/*
2014-09-01 16:31:35 -03:00
GoogleDrive: {
2014-09-20 07:30:02 -03:00
home: 'copay',
2014-12-12 11:21:48 -03:00
// This clientId was generated at:
// https://console.developers.google.com/project
// To run Copay with Google Drive at your domain you need
// to generata your own Id.
2014-09-20 07:30:02 -03:00
// for localhost:3001 you can use you can:
2014-12-12 11:21:48 -03:00
//
2014-09-04 16:23:37 -03:00
clientId: '232630733383-a35gcnovnkgka94394i88gq60vtjb4af.apps.googleusercontent.com',
2014-09-20 07:30:02 -03:00
// for copay.io:
// clientId: '1036948132229-biqm3b8sirik9lt5rtvjo9kjjpotn4ac.apps.googleusercontent.com',
2014-09-01 15:13:23 -03:00
},
2014-12-12 11:21:48 -03:00
*/
2014-04-08 00:54:38 -03:00
};
2014-07-08 13:03:59 -03:00
if (typeof module !== 'undefined')
2014-09-03 13:17:59 -03:00
module.exports = defaultConfig;