aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet.h')
-rw-r--r--src/wallet.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wallet.h b/src/wallet.h
index 8b9ccaf5cb..d47416d272 100644
--- a/src/wallet.h
+++ b/src/wallet.h
@@ -69,9 +69,11 @@ class CAddressBookData
{
public:
std::string name;
+ std::string purpose;
CAddressBookData()
{
+ purpose = "unknown";
}
};
@@ -294,9 +296,9 @@ public:
DBErrors LoadWallet(bool& fFirstRunRet);
- bool SetAddressBookName(const CTxDestination& address, const std::string& strName);
+ bool SetAddressBook(const CTxDestination& address, const std::string& strName, const std::string& purpose);
- bool DelAddressBookName(const CTxDestination& address);
+ bool DelAddressBook(const CTxDestination& address);
void UpdatedTransaction(const uint256 &hashTx);