Caching txs
This commit is contained in:
parent
c223de2c63
commit
48e921e7df
5 changed files with 59 additions and 34 deletions
|
|
@ -271,6 +271,18 @@ angular.module('copayApp.services')
|
|||
storage.remove('glideraStatus-' + network, cb);
|
||||
};
|
||||
|
||||
root.setGlideraTxs = function(network, txs, cb) {
|
||||
storage.set('glideraTxs-' + network, txs, cb);
|
||||
};
|
||||
|
||||
root.getGlideraTxs = function(network, cb) {
|
||||
storage.get('glideraTxs-' + network, cb);
|
||||
};
|
||||
|
||||
root.removeGlideraTxs = function(network, cb) {
|
||||
storage.remove('glideraTxs-' + network, cb);
|
||||
};
|
||||
|
||||
root.setCoinbaseRefreshToken = function(network, token, cb) {
|
||||
storage.set('coinbaseRefreshToken-' + network, token, cb);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue