aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-07 15:22:54 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-07 15:22:54 +0200
commitae3d0aba158d0a38c33d687e5473d688fbcb903d (patch)
tree33aad906eba0bf0500a24196649651bd8d48dfa4 /src/wallet.h
parentfbaee7a8533b23d846ee16837320f709c4e83d47 (diff)
Sync to bitcoin git e94010b2395694d56dd6
Diffstat (limited to 'src/wallet.h')
-rw-r--r--src/wallet.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/wallet.h b/src/wallet.h
index 69110a4afa..7d9db97267 100644
--- a/src/wallet.h
+++ b/src/wallet.h
@@ -149,10 +149,12 @@ public:
bool LoadWallet(bool& fFirstRunRet);
// bool BackupWallet(const std::string& strDest);
+
+ // requires cs_mapAddressBook lock
bool SetAddressBookName(const std::string& strAddress, const std::string& strName);
- bool EraseAddressBookName(const std::string& strAddress);
- std::string GetDefaultAddress();
- bool SetDefaultAddress(const std::string& strAddress);
+
+ // requires cs_mapAddressBook lock
+ bool DelAddressBookName(const std::string& strAddress);
void UpdatedTransaction(const uint256 &hashTx)
{
@@ -174,6 +176,7 @@ public:
bool GetTransaction(const uint256 &hashTx, CWalletTx& wtx);
+ bool SetDefaultKey(const std::vector<unsigned char> &vchPubKey);
};