aboutsummaryrefslogtreecommitdiff
path: root/src/walletdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/walletdb.h')
-rw-r--r--src/walletdb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/walletdb.h b/src/walletdb.h
index 4dfa35d82a..09ebebe5ac 100644
--- a/src/walletdb.h
+++ b/src/walletdb.h
@@ -68,9 +68,11 @@ private:
void operator=(const CWalletDB&);
public:
bool WriteName(const std::string& strAddress, const std::string& strName);
-
bool EraseName(const std::string& strAddress);
+ bool WritePurpose(const std::string& strAddress, const std::string& purpose);
+ bool ErasePurpose(const std::string& strAddress);
+
bool WriteTx(uint256 hash, const CWalletTx& wtx)
{
nWalletDBUpdated++;