Page MenuHomePhabricator

Lock cs_main when calling the block finalized validation interface
ClosedPublic

Authored by Fabien on Sep 23 2024, 14:24.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable