mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
41190e9899
Function CWallet::KeepKey requires locking as it has concurrent access to database and member nKeysLeftSinceAutoBackup. Avoid data race when reading setInventoryTxToSend size by locking the read. If locking happens after the read, the size may change. Lock cs_mnauth when reading verifiedProRegTxHash. Make fRPCRunning atomic as it can be read/written from different threads simultaneously. Make m_masternode_iqr_connection atomic as it can be read/written from different threads simultaneously. Use a recursive mutex to synchronize concurrent access to quorumVvec. Make m_masternode_connection atomic as it can be read/written from different threads simultaneously. Make m_masternode_probe_connection atomic as it can be read/written from different threads simultaneously. Use a recursive mutex in order to lock access to activeMasterNode. Use a recursive mutex to synchronize concurrent access to skShare. Guarded all mnauth fields of a CNode. Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com> |
||
---|---|---|
.. | ||
activemasternode.cpp | ||
activemasternode.h | ||
masternode-meta.cpp | ||
masternode-meta.h | ||
masternode-payments.cpp | ||
masternode-payments.h | ||
masternode-sync.cpp | ||
masternode-sync.h | ||
masternode-utils.cpp | ||
masternode-utils.h |