@@ -39,19 +39,19 @@ class CJWalletManagerImpl final : public CJWalletManager
3939
4040public:
4141 bool hasQueue (const uint256& hash) const override ;
42- CCoinJoinClientManager* getClient (const std::string& name) override ;
42+ CCoinJoinClientManager* getClient (const std::string& name) override EXCLUSIVE_LOCKS_REQUIRED(!cs_wallet_manager_map) ;
4343 MessageProcessingResult processMessage (CNode& peer, CChainState& chainstate, CConnman& connman, CTxMemPool& mempool,
44- std::string_view msg_type, CDataStream& vRecv) override ;
44+ std::string_view msg_type, CDataStream& vRecv) override EXCLUSIVE_LOCKS_REQUIRED(!cs_ProcessDSQueue, !cs_wallet_manager_map) ;
4545 std::optional<CCoinJoinQueue> getQueueFromHash (const uint256& hash) const override ;
4646 std::optional<int > getQueueSize () const override ;
47- std::vector<CDeterministicMNCPtr> getMixingMasternodes () override ;
48- void addWallet (const std::shared_ptr<wallet::CWallet>& wallet) override ;
49- void removeWallet (const std::string& name) override ;
50- void flushWallet (const std::string& name) override ;
47+ std::vector<CDeterministicMNCPtr> getMixingMasternodes () override EXCLUSIVE_LOCKS_REQUIRED(!cs_wallet_manager_map) ;
48+ void addWallet (const std::shared_ptr<wallet::CWallet>& wallet) override EXCLUSIVE_LOCKS_REQUIRED(!cs_wallet_manager_map) ;
49+ void removeWallet (const std::string& name) override EXCLUSIVE_LOCKS_REQUIRED(!cs_wallet_manager_map) ;
50+ void flushWallet (const std::string& name) override EXCLUSIVE_LOCKS_REQUIRED(!cs_wallet_manager_map) ;
5151
5252protected:
5353 // CValidationInterface
54- void UpdatedBlockTip (const CBlockIndex* pindexNew, const CBlockIndex* pindexFork, bool fInitialDownload ) override ;
54+ void UpdatedBlockTip (const CBlockIndex* pindexNew, const CBlockIndex* pindexFork, bool fInitialDownload ) override EXCLUSIVE_LOCKS_REQUIRED(!cs_wallet_manager_map) ;
5555
5656private:
5757 const bool m_relay_txes;
@@ -75,7 +75,7 @@ class CJWalletManagerImpl final : public CJWalletManager
7575 void DoMaintenance (CConnman& connman) EXCLUSIVE_LOCKS_REQUIRED(!cs_wallet_manager_map);
7676
7777 [[nodiscard]] MessageProcessingResult ProcessDSQueue (NodeId from, CConnman& connman, std::string_view msg_type,
78- CDataStream& vRecv) EXCLUSIVE_LOCKS_REQUIRED(!cs_ProcessDSQueue);
78+ CDataStream& vRecv) EXCLUSIVE_LOCKS_REQUIRED(!cs_ProcessDSQueue, !cs_wallet_manager_map );
7979
8080 template <typename Callable>
8181 void ForEachCJClientMan (Callable&& func) EXCLUSIVE_LOCKS_REQUIRED(!cs_wallet_manager_map)
0 commit comments