mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-12 21:13:00 +02:00
refactor: replace RecursiveMutex m_chainstate_mutex with Mutex
This commit is contained in:
@ -533,10 +533,11 @@ protected:
|
||||
arith_uint256 nLastPreciousChainwork = 0;
|
||||
|
||||
/**
|
||||
* the ChainState CriticalSection
|
||||
* A lock that must be held when modifying this ChainState - held in ActivateBestChain()
|
||||
* The ChainState Mutex
|
||||
* A lock that must be held when modifying this ChainState - held in ActivateBestChain() and
|
||||
* InvalidateBlock()
|
||||
*/
|
||||
RecursiveMutex m_chainstate_mutex;
|
||||
Mutex m_chainstate_mutex;
|
||||
|
||||
/**
|
||||
* Whether this chainstate is undergoing initial block download.
|
||||
|
Reference in New Issue
Block a user