diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2020-02-22 02:50:46 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2020-04-02 16:02:56 +0000 |
commit | 8e64b8c84bcbd63caea06f3af087af1f0609eaf5 (patch) | |
tree | b3d79070111058aaa90c0ca4ba9167fc7a0ba761 /src/wallet/wallet.h | |
parent | 65b6bdc2b164343ec3cc3d32a0297daff9e24fec (diff) | |
download | bitcoin-8e64b8c84bcbd63caea06f3af087af1f0609eaf5.tar.xz |
Wallet: New FindAddressBookEntry method to filter out change entries (and skip ->second everywhere)
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 788f29c039..c681dd28c8 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -785,6 +785,7 @@ public: uint64_t nAccountingEntryNumber = 0; std::map<CTxDestination, CAddressBookData> m_address_book GUARDED_BY(cs_wallet); + const CAddressBookData* FindAddressBookEntry(const CTxDestination&, bool allow_change = false) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); std::set<COutPoint> setLockedCoins GUARDED_BY(cs_wallet); |