aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-07-24 14:09:58 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-07-24 14:09:58 -0500
commitb333513db79e41620ea6947ac6fe1122b8b3006d (patch)
tree57dd5017d4168232514439889f116c872993493a /src/wallet/api/wallet.h
parentMerge pull request #5531 (diff)
parentexpose set/get walletcache attribute functionality in wallet api (diff)
downloadmonero-b333513db79e41620ea6947ac6fe1122b8b3006d.tar.xz
Merge pull request #5534
4c66614 expose set/get walletcache attribute functionality in wallet api (selsta)
Diffstat (limited to 'src/wallet/api/wallet.h')
-rw-r--r--src/wallet/api/wallet.h4
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 &note) override;
virtual std::string getUserNote(const std::string &txid) const override;
virtual std::string getTxKey(const std::string &txid) const override;