aboutsummaryrefslogtreecommitdiff
path: root/src/walletdb.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-11-18 16:55:54 +0100
committerCozz Lovan <cozzlovan@yahoo.com>2014-01-19 18:21:54 +0100
commitb10e147096b0e27fdff8c22029bc8b7a1a14f042 (patch)
treedeb52bf797444b448e79df495d4a98906407af44 /src/walletdb.h
parentdd7c1cf534b760e9da55c225d6bb05f2bdb8e2e7 (diff)
wallet: add interface for storing generic data on destinations
Diffstat (limited to 'src/walletdb.h')
-rw-r--r--src/walletdb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/walletdb.h b/src/walletdb.h
index 88ba89f9d5..15af287245 100644
--- a/src/walletdb.h
+++ b/src/walletdb.h
@@ -124,6 +124,11 @@ public:
bool ReadAccount(const std::string& strAccount, CAccount& account);
bool WriteAccount(const std::string& strAccount, const CAccount& account);
+
+ /// Write destination data key,value tuple to database
+ bool WriteDestData(const std::string &address, const std::string &key, const std::string &value);
+ /// Erase destination data tuple from wallet database
+ bool EraseDestData(const std::string &address, const std::string &key);
private:
bool WriteAccountingEntry(const uint64_t nAccEntryNum, const CAccountingEntry& acentry);
public: