Ryan Ofsky
ce95fb36af
Remove cs_main lock annotation from ChainstateManager.m_blockman
...
BlockManager is a large data structure, and cs_main is not required to
take its address or access every part of it. Individual BlockManager
fields and methods which do require cs_main like m_block_index and
LookupBlockIndex are already annotated separately, and these other
annotations describe locking requirements more accurately and do a
better job enforcing thread safety.
Since cs_main is not needed to access the address of the m_block object,
this commit drops cs_main LOCK calls which were added pointlessly to
satisfy this annotation in the past.
Co-authored-by: Carl Dong <contact@carldong.me >
2022-01-11 05:11:00 -05:00
..
2021-12-17 10:46:39 +01:00
2021-11-19 12:41:47 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-11-12 19:51:55 +00:00
2021-11-19 12:41:47 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-11-12 19:51:55 +00:00
2021-11-12 19:51:55 +00:00
2021-12-30 19:36:57 +02:00
2022-01-11 05:11:00 -05:00
2021-12-02 15:24:55 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-17 10:46:39 +01:00
2021-11-12 19:51:55 +00:00
2021-12-17 23:04:04 +05:30
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-01-06 22:14:16 -05:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-01-06 11:29:55 -05:00
2022-01-05 10:34:29 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-11-12 19:51:55 +00:00
2022-01-06 22:14:16 -05:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-11-12 19:51:55 +00:00
2021-12-07 13:13:18 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-11-19 12:41:47 +01:00
2021-12-17 10:46:39 +01:00
2021-12-30 19:36:57 +02:00
2021-12-01 12:15:01 +01:00
2021-12-01 12:15:01 +01:00
2022-01-06 22:14:16 -05:00
2021-12-30 19:36:57 +02:00
2021-12-08 14:20:16 +01:00
2021-12-06 16:18:14 -05:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-11-12 19:51:55 +00:00
2021-12-30 19:36:57 +02:00
2021-11-19 12:41:47 +01:00
2021-11-12 19:51:55 +00:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-11-12 19:51:55 +00:00
2021-12-30 19:36:57 +02:00
2022-01-06 22:14:16 -05:00
2021-12-30 19:36:57 +02:00
2022-01-05 15:32:53 +01:00
2022-01-05 15:32:53 +01:00
2022-01-06 22:14:16 -05:00
2021-11-12 19:51:55 +00:00