commit
aa3e7b7a41
|
@ -30,6 +30,6 @@ node_modules
|
||||||
|
|
||||||
*.swp
|
*.swp
|
||||||
out/
|
out/
|
||||||
db/
|
db/*
|
||||||
|
|
||||||
.bit
|
.bit
|
||||||
|
|
|
@ -109,7 +109,7 @@ Utils.parseAmount = function(text) {
|
||||||
Utils.configureCommander = function(program) {
|
Utils.configureCommander = function(program) {
|
||||||
program
|
program
|
||||||
.version('0.0.1')
|
.version('0.0.1')
|
||||||
.option('-f, --file [filename]', 'Wallet file', 'bit.dat')
|
.option('-f, --file [filename]', 'Wallet file', process.env['HOME'] + '/.bit.dat')
|
||||||
.option('-h, --host [host]', 'Bitcore Wallet Service URL (eg: http://localhost:3001/copay/api')
|
.option('-h, --host [host]', 'Bitcore Wallet Service URL (eg: http://localhost:3001/copay/api')
|
||||||
.option('-v, --verbose', 'be verbose')
|
.option('-v, --verbose', 'be verbose')
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ var Notification = require('./model/notification');
|
||||||
|
|
||||||
var Storage = function(opts) {
|
var Storage = function(opts) {
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
this.db = opts.db || levelup(opts.dbPath || './db/copay.db', {
|
this.db = opts.db || levelup(opts.dbPath || './db/bws.db', {
|
||||||
valueEncoding: 'json'
|
valueEncoding: 'json'
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue