txHistory cache
This commit is contained in:
parent
3bac497049
commit
240e26a783
3 changed files with 86 additions and 24 deletions
|
|
@ -71,6 +71,36 @@ angular.module('copayApp.services')
|
|||
walletId, wallet.credentials.walletName);
|
||||
|
||||
$rootScope.$emit(n.type, n, wallet);
|
||||
// ))
|
||||
// walletService allet.getStatus()
|
||||
// wallet.getTxHistory()
|
||||
//
|
||||
// // update wallet?
|
||||
// if (lodash.indexOf( [,'NewOutgoingTx','NewOutgoingTxByThirdParty','NewTxProposal', 'TxProposalFinallyRejected', 'TxProposalRemoved'], n.type)>=0) {
|
||||
//
|
||||
// wallet.update
|
||||
//
|
||||
// };
|
||||
//
|
||||
// 'NewBlock'
|
||||
// });
|
||||
//
|
||||
// //untilItChange FALSE
|
||||
// lodash.each(['NewTxProposal', , 'NewOutgoingTxByThirdParty',
|
||||
// 'Local/GlideraTx'
|
||||
// ], function(eventName) {
|
||||
// $rootScope.$on(eventName, function(event) {
|
||||
// self.updateAll({
|
||||
// walletStatus: null,
|
||||
// untilItChanges: null,
|
||||
// triggerTxUpdate: true,
|
||||
// });
|
||||
// });
|
||||
// });
|
||||
//
|
||||
//
|
||||
// //
|
||||
//
|
||||
});
|
||||
|
||||
wallet.on('walletCompleted', function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue