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