aboutsummaryrefslogtreecommitdiff
path: root/src/walletdb.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-08-22 01:54:28 -0700
committerGavin Andresen <gavinandresen@gmail.com>2013-08-22 01:54:28 -0700
commite62f8d72f349aec0865268c089ae99fedd314af1 (patch)
tree7735f34781f1ced27553b202bceaa74048018636 /src/walletdb.h
parente4348d2179b5083769582b3036f40902b0122bbf (diff)
parenta41d5fe01947f2f878c055670986a165af800f9a (diff)
Merge pull request #2539 from gavinandresen/paymentrequest
Payment Protocol Work
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++;