Add compile time checking for all cs_KeyStore runtime locking assertions

This commit is contained in:
practicalswift 2018-04-25 22:27:36 +02:00
parent 25ad2f75f5
commit 66dc662c8a

View File

@ -54,7 +54,7 @@ protected:
ScriptMap mapScripts; ScriptMap mapScripts;
WatchOnlySet setWatchOnly; WatchOnlySet setWatchOnly;
void ImplicitlyLearnRelatedKeyScripts(const CPubKey& pubkey); void ImplicitlyLearnRelatedKeyScripts(const CPubKey& pubkey) EXCLUSIVE_LOCKS_REQUIRED(cs_KeyStore);
public: public:
bool AddKeyPubKey(const CKey& key, const CPubKey &pubkey) override; bool AddKeyPubKey(const CKey& key, const CPubKey &pubkey) override;