net_processing: add thread safety annotations for PeerManagerImpl members accessed only via the msgproc thread
This commit is contained in:
1 parent
a66a7ccb82
commit
0ae7987f68
1 file changed
+1
-1
@@ -751,7 +751,7 @@ private:
|
|||||||
int nSyncStarted GUARDED_BY(cs_main) = 0;
|
int nSyncStarted GUARDED_BY(cs_main) = 0;
|
||||||
|
|
||||||
/** Hash of the last block we received via INV */
|
/** Hash of the last block we received via INV */
|
||||||
uint256 m_last_block_inv_triggering_headers_sync{};
|
uint256 m_last_block_inv_triggering_headers_sync GUARDED_BY(g_msgproc_mutex){};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sources of received blocks, saved to be able punish them when processing
|
* Sources of received blocks, saved to be able punish them when processing
|
||||||
|
|||||||
Reference in new issue
Block a user