make unit configurable in settings. update after @cmgustavo comments

This commit is contained in:
Matias Alejo Garcia 2014-06-16 12:44:18 -03:00
commit 00ca9f1c32
14 changed files with 359 additions and 259 deletions

View file

@ -1,8 +1,12 @@
'use strict';
var defaultConfig = {
// livenet or testnet
// DEFAULT network (livenet or testnet)
networkName: 'testnet',
// DEFAULT unit: Bit
unitName: 'bits',
unitToSatoshi: 100,
// wallet limits
limits: {
totalCopayers: 12,
@ -21,7 +25,7 @@ var defaultConfig = {
*/
// Use this to connect to bitpay's PeerJS server
key: 'satoshirocks',
key: 'satoshirocks',
host: '162.242.219.26',
port: 10000,
path: '/',
@ -107,7 +111,7 @@ var defaultConfig = {
// local encryption/security config
passphrase: {
iterations: 100,
storageSalt: 'mjuBtGybi/4=',
storageSalt: 'mjuBtGybi/4=',
},
// theme list