mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-13 00:48:59 +00:00
refactor: replace RecursiveMutex m_chainstate_mutex with Mutex
This commit is contained in:
parent
ddeefeef20
commit
020acea99b
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user