copay/config.template.js

52 lines
1.0 KiB
JavaScript
Raw Normal View History

2014-03-14 13:38:27 -07:00
'use strict';
2014-04-07 20:54:38 -07:00
var config = {
networkName: 'testnet',
2014-04-15 08:17:28 -07:00
network: {
2014-04-24 13:24:43 -07:00
// key: 'lwjd5qra8257b9', //Copay API key for public PeerJS server
// This is for running local peerJs with params: ./peerjs -p 10009 -k 'sdfjhwefh'
//key: 'sdfjhwefh',
//host: 'localhost',
//port: 10009,
//path: '/',
2014-04-24 13:24:43 -07:00
//
2014-04-29 15:51:49 -07:00
key: 'g23ihfh82h35rf', // api key for the peerjs server
host:'162.242.219.26', // peerjs server
2014-04-24 13:24:43 -07:00
port:10009,
path: '/',
maxPeers: 15,
2014-04-29 15:51:49 -07:00
// debug: 3,
sjclParams: {
2014-04-29 16:56:28 -07:00
salt: 'mjuBtGybi/4=', // choose your own salt (base64)
2014-04-29 16:57:30 -07:00
iter:1000,
2014-04-29 15:51:49 -07:00
mode:'ccm',
ts:parseInt(64),
}
2014-04-15 08:17:28 -07:00
},
2014-04-16 13:07:14 -07:00
limits: {
totalCopayers: 10,
mPlusN: 15
},
2014-04-15 06:22:50 -07:00
wallet: {
requiredCopayers: 2,
totalCopayers: 3,
2014-04-16 13:50:10 -07:00
spendUnconfirmed: 1,
verbose: 1,
2014-04-15 06:22:50 -07:00
},
2014-04-15 14:23:35 -07:00
blockchain: {
host: 'test.insight.is',
2014-04-18 15:28:28 -07:00
port: 3001
},
socket: {
host: 'test.insight.is',
2014-04-18 15:28:28 -07:00
port: 3001
2014-04-14 13:17:56 -07:00
},
2014-04-15 11:25:55 -07:00
verbose: 1,
themes: ['default']
2014-04-07 20:54:38 -07:00
};
2014-04-15 10:28:49 -07:00
var log = function () {
if (config.verbose) console.log(arguments);
}