Merge pull request #101 from ryanxcharles/feature/improve-default-config

Improve default config + Add local express server + Update README
This commit is contained in:
Gustavo Maximiliano Cortez 2014-04-20 16:57:00 -03:00
commit 37e2cc8cb4
6 changed files with 49 additions and 7 deletions

View file

@ -1,39 +0,0 @@
'use strict';
var config = {
networkName: 'testnet',
network: {
// key: 'lwjd5qra8257b9',
// This is for running local peerJs with params: ./peerjs -p 10009 -k 'sdfjhwefh'
key: 'sdfjhwefh',
host: 'localhost',
port: 10009,
path: '/',
maxPeers: 3,
debug: 3,
},
limits: {
totalCopayers: 10,
mPlusN: 15
},
wallet: {
requiredCopayers: 2,
totalCopayers: 3,
spendUnconfirmed: 1,
verbose: 1,
},
blockchain: {
host: 'test.insight.is',
port: 3001
},
socket: {
host: 'test.insight.is',
port: 3001
},
verbose: 1,
};
var log = function () {
if (config.verbose) console.log(arguments);
}