HomePhabricator

Lock cs_main when calling the block finalized validation interface

Description

Lock cs_main when calling the block finalized validation interface

Summary: For now there is a single subscriber (chronik) so there is no race, but this is a brittle design. Let's take the lock properly to avoid introducing issues in the future.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, roqqit

Reviewed By: roqqit

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

Details

Provenance
FabienAuthored on Sep 23 2024, 14:06
FabienPushed on Sep 24 2024, 14:27
Reviewer
roqqit
Differential Revision
D16801: Lock cs_main when calling the block finalized validation interface
Parents
rABC74c6e91dccac: [ecash-agora] Add `AgoraPartial.script` to build the Script for partial SLP…
Branches
Unknown
Tags
Unknown