HomePhabricator

validation: replace lock with annotation in UnloadBlockIndex()

Description

validation: replace lock with annotation in UnloadBlockIndex()

Summary:
This is a partial backport of core#24299
https://github.com/bitcoin/bitcoin/pull/24299/commits/daad0093e3d1466789d0ce687902636c80cd74a1

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Jon Atack <jon@atack.com>Authored on Feb 9 2022, 13:01
PiRKCommitted on Jan 18 2023, 11:42
PiRKPushed on Jan 18 2023, 11:43
Reviewer
Restricted Project
Differential Revision
D12988: validation: replace lock with annotation in UnloadBlockIndex()
Parents
rABC87635dd940fc: [avalanche] Merge the block and proof vote records into a single data structure
Branches
Unknown
Tags
Unknown