HomePhabricator

[validation] Annotate ChainstateManager::m_best_header as guarded by cs_main

Description

[validation] Annotate ChainstateManager::m_best_header as guarded by cs_main

Summary:
This is a partial backport of core#26140
https://github.com/bitcoin/bitcoin/pull/26140/commits/1d87137227ee125018006935d55164a72265c935
Depends on D15287

Test Plan:
With Debug:

ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D15288

Details

Provenance
dergoegge <n.goeggi@gmail.com>Authored on Nov 14 2022, 11:01
PiRKCommitted on Jan 26 2024, 17:17
PiRKPushed on Jan 26 2024, 17:17
Reviewer
Restricted Project
Differential Revision
D15288: [validation] Annotate ChainstateManager::m_best_header as guarded by cs_main
Parents
rABCc42c1dffc449: net_processing: add thread safety annotation for m_highest_fast_announce
Branches
Unknown
Tags
Unknown