mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 02:25:40 +01:00
net_processing: add thread safety annotations for PeerManagerImpl members accessed only via the msgproc thread
This commit is contained in:
parent
a66a7ccb82
commit
0ae7987f68
@ -751,7 +751,7 @@ private:
|
||||
int nSyncStarted GUARDED_BY(cs_main) = 0;
|
||||
|
||||
/** 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
|
||||
|
Loading…
Reference in New Issue
Block a user