Add missed thread safety annotations
This is needed for upcoming commit "sync.h: Make runtime lock checks require compile-time lock checks" to pass.
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -535,7 +535,7 @@ private:
|
|||||||
//! keeps track of whether Unlock has run a thorough check before
|
//! keeps track of whether Unlock has run a thorough check before
|
||||||
bool m_decryption_thoroughly_checked = false;
|
bool m_decryption_thoroughly_checked = false;
|
||||||
|
|
||||||
bool AddDescriptorKeyWithDB(WalletBatch& batch, const CKey& key, const CPubKey &pubkey);
|
bool AddDescriptorKeyWithDB(WalletBatch& batch, const CKey& key, const CPubKey &pubkey) EXCLUSIVE_LOCKS_REQUIRED(cs_desc_man);
|
||||||
|
|
||||||
KeyMap GetKeys() const EXCLUSIVE_LOCKS_REQUIRED(cs_desc_man);
|
KeyMap GetKeys() const EXCLUSIVE_LOCKS_REQUIRED(cs_desc_man);
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1285,7 +1285,7 @@ public:
|
|||||||
void LoadActiveScriptPubKeyMan(uint256 id, OutputType type, bool internal);
|
void LoadActiveScriptPubKeyMan(uint256 id, OutputType type, bool internal);
|
||||||
|
|
||||||
//! Create new DescriptorScriptPubKeyMans and add them to the wallet
|
//! Create new DescriptorScriptPubKeyMans and add them to the wallet
|
||||||
void SetupDescriptorScriptPubKeyMans();
|
void SetupDescriptorScriptPubKeyMans() EXCLUSIVE_LOCKS_REQUIRED(cs_wallet);
|
||||||
|
|
||||||
//! Return the DescriptorScriptPubKeyMan for a WalletDescriptor if it is already in the wallet
|
//! Return the DescriptorScriptPubKeyMan for a WalletDescriptor if it is already in the wallet
|
||||||
DescriptorScriptPubKeyMan* GetDescriptorScriptPubKeyMan(const WalletDescriptor& desc) const;
|
DescriptorScriptPubKeyMan* GetDescriptorScriptPubKeyMan(const WalletDescriptor& desc) const;
|
||||||
|
|||||||
Reference in new issue
Block a user