diff options
author | dsc <xmrdsc@protonmail.com> | 2019-05-10 17:45:44 +0200 |
---|---|---|
committer | selsta <selsta@sent.at> | 2019-05-10 19:24:45 +0200 |
commit | 4c666141e3ee68868ccea7dd34d5c1875378cf5a (patch) | |
tree | 81b99a7a85a6e0a007de01c1ca616e48386a9be4 /src/wallet/api/wallet.h | |
parent | Merge pull request #5497 (diff) | |
download | monero-4c666141e3ee68868ccea7dd34d5c1875378cf5a.tar.xz |
expose set/get walletcache attribute functionality in wallet api
Diffstat (limited to 'src/wallet/api/wallet.h')
-rw-r--r-- | src/wallet/api/wallet.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h index 9e07b6e19..5dfd997a1 100644 --- a/src/wallet/api/wallet.h +++ b/src/wallet/api/wallet.h @@ -168,6 +168,10 @@ public: virtual void setListener(WalletListener * l) override; virtual uint32_t defaultMixin() const override; virtual void setDefaultMixin(uint32_t arg) override; + + virtual bool setCacheAttribute(const std::string &key, const std::string &val) override; + virtual std::string getCacheAttribute(const std::string &key) const override; + virtual bool setUserNote(const std::string &txid, const std::string ¬e) override; virtual std::string getUserNote(const std::string &txid) const override; virtual std::string getTxKey(const std::string &txid) const override; |