This commit is contained in:
Matias Alejo Garcia 2015-02-24 14:43:46 -03:00
parent a963b03ba0
commit 7734c427ca
4 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@ -30,6 +30,6 @@ node_modules
*.swp
out/
db/
db/*
.bit

View File

@ -109,7 +109,7 @@ Utils.parseAmount = function(text) {
Utils.configureCommander = function(program) {
program
.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('-v, --verbose', 'be verbose')

0
db/.empty Normal file
View File

View File

@ -16,7 +16,7 @@ var Notification = require('./model/notification');
var Storage = function(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'
});
};