mv log to util

This commit is contained in:
Matias Alejo Garcia 2014-12-02 11:17:03 -03:00
parent 19d1bde546
commit 30a6109abf
8 changed files with 96 additions and 4 deletions

18
2fa Normal file
View File

@ -0,0 +1,18 @@
- 2-2
1 desktop
1 mobile
- each device creates its own key
- both devices are expected to be logged using the same profile (email / password)
- if using local storage -> all is OK.
- keys will be safe an will never leave the device
- if using insight
both 'copayers' need to have a new and different password for accessing the wallet.
-

12
TODO Normal file
View File

@ -0,0 +1,12 @@
- homeWallet address...e sta ok?
- receive controller .. owned
--
// pkr.cache = opts.cache;
(en send.js)
// $rootScope.pendingTxCount = res.pendingForUs;
-- probar payment intent
// TODO refrescar en 'add'

1
commm Normal file
View File

@ -0,0 +1 @@
7b6bcfbbbb6bf82f8843305f563d2a2491f310fe

View File

@ -125,7 +125,7 @@ Identity.open = function(opts, cb) {
var storage = opts.storage || opts.pluginManager.get('DB');
storage.setCredentials(opts.email, opts.password, opts);
storage.getItem(Identity.getKeyForEmail(opts.email), function(err, data, headers) {
storage.getItem(Identity.getKeyForEmail(opts.email), function(err, data) {
var exported;
if (err) {
return cb(err);
@ -135,7 +135,7 @@ Identity.open = function(opts, cb) {
} catch (e) {
return cb(e);
}
return cb(null, new Identity(_.extend(opts, exported)), headers);
return cb(null, new Identity(_.extend(opts, exported)));
});
};
@ -643,10 +643,11 @@ Identity.prototype.deleteWallet = function(walletId, cb) {
delete this.focusedTimestamps[walletId];
this.storage.removeItem(Wallet.getStorageKey(walletId), function(err) {
if (err) return cb(err);
if (err) {
return cb(err);
}
self.emitAndKeepAlive('deletedWallet', walletId);
self.store(null, cb);
return cb();
});
};

37
meeting Normal file
View File

@ -0,0 +1,37 @@
- We have an historical opportunity
- To create the software EVERYONE in the WORLD will use for their finance
- To enhance everyone's life by creating an awesome software
- To colaborate with Bitcoin adoption, by creating a simple and intuite wallet
-
- be obsessive about the UX
- fucking use Copay
- subscribe and read bitcore dev
- Company funds
- Startups
- Middle size companies
- Friends funds
- Own funds
- 1-1 for every day usage
- easy and FAST mobile access
- QR reading
- PayPro
- 2-4 for long term holding
- swipe without need of insight or copay.io
- paper walleting
-
NOT:

19
test-users Normal file
View File

@ -0,0 +1,19 @@
wallet addr: 2N7YdozHPSyDomeov9sU6kL3RdGkZPUaV2v
ematiu+1@gmail.com password: 123
extPubKey: tprv8ZgxMBicQKsPdWNCTqR5zbCTTCLgc4saAQE32LqLWMHmSzFncTdZegFS7CyA8FKQX9kX7FPAJ1scvtkgumYRJ4iAc4pNekm3LzPtikR3C2L
ematiu+2@gmail.com password:2
extPubKey: tprv8ZgxMBicQKsPem5BuuDT6xY9etUC2RohpUoyzoa1MEkkZyAHhszaHPZTmgDheN31hSP1r6bRwpj2JC66r1CPpftwaRrhz9Wz3e9yRVScw9Y
ematiu+3@gmail.com password:3
extPubKey: tprv8ZgxMBicQKsPeQixUQZw1zm2LY6uJqT6oJMStMQHsHkMQDFXwxdomkkFCvMWZbQri3B8mzapiMvREXP85HFKmoUND48yfLEq7AuNCaj41Dw
util/swipeWallet.js n2kMqQ8Si9GndzQ6FrJxcwHMKacK2rCEpK 2 tprv8ZgxMBicQKsPdWNCTqR5zbCTTCLgc4saAQE32LqLWMHmSzFncTdZegFS7CyA8FKQX9kX7FPAJ1scvtkgumYRJ4iAc4pNekm3LzPtikR3C2L tprv8ZgxMBicQKsPem5BuuDT6xY9etUC2RohpUoyzoa1MEkkZyAHhszaHPZTmgDheN31hSP1r6bRwpj2JC66r1CPpftwaRrhz9Wz3e9yRVScw9Y tprv8ZgxMBicQKsPeQixUQZw1zm2LY6uJqT6oJMStMQHsHkMQDFXwxdomkkFCvMWZbQri3B8mzapiMvREXP85HFKmoUND48yfLEq7AuNCaj41Dw
my addr: n2kMqQ8Si9GndzQ6FrJxcwHMKacK2rCEpK

View File

@ -116,6 +116,9 @@ var createBundle = function(opts) {
// The following 2 lines fix karma tests
b.require('sjcl');
b.require('./js/util/log', {
expose: '../../log.js'
});
if (opts.debug) {
//include dev dependencies

1
w Normal file
View File

@ -0,0 +1 @@
xprv9s21ZrQH143K3DYCbPDJdFhNDCzChAdsFwz2HFwgtcEufYffAvhZXcJ3XwxjepPJp3FBSHYFnPsxtAzDbSruoRW3rVThyqc2iFKSFw7zhE6