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
teamcityPushed on Sep 24 2024, 14:29
Parents
rSTAGING74c6e91dccac: [ecash-agora] Add `AgoraPartial.script` to build the Script for partial SLP…
Branches
Unknown
Tags
Unknown

Event Timeline