Wallet/js/config.js

39 lines
689 B
JavaScript
Raw Normal View History

2014-03-14 17:38:27 -03:00
'use strict';
2014-04-08 00:54:38 -03:00
var config = {
networkName: 'testnet',
2014-04-15 12:17:28 -03:00
network: {
2014-04-18 11:23:07 -03:00
key: 'lwjd5qra8257b9',
// This is for running local peerJs with params: ./peerjs -p 10009 -k 'sdfjhwefh'
2014-04-18 11:23:07 -03:00
// key: 'sdfjhwefh',
// host: 'localhost',
// port: 10009,
// path: '/',
2014-04-15 12:17:28 -03:00
maxPeers: 3,
2014-04-15 15:25:55 -03:00
debug: 3,
2014-04-15 12:17:28 -03:00
},
2014-04-16 17:07:14 -03:00
limits: {
totalCopayers: 10,
mPlusN: 15
},
2014-04-15 10:22:50 -03:00
wallet: {
requiredCopayers: 2,
totalCopayers: 3,
2014-04-16 17:50:10 -03:00
spendUnconfirmed: 1,
verbose: 1,
2014-04-15 10:22:50 -03:00
},
2014-04-15 18:23:35 -03:00
blockchain: {
host: 'test.insight.is',
port: 3001
},
socket: {
host: 'test.insight.is',
port: 3001
2014-04-14 17:17:56 -03:00
},
2014-04-15 15:25:55 -03:00
verbose: 1,
2014-04-08 00:54:38 -03:00
};
2014-04-15 14:28:49 -03:00
var log = function () {
if (config.verbose) console.log(arguments);
}