Page MenuHomePhabricator

[avalanche] Avoid recursively holding mempool.cs via isAvalancheFinalized
ClosedPublic

Authored by Fabien on Jun 5 2025, 13:54.

Details

Summary

in most places where this is used we already have the lock, so just assert it's held instead.

Depends on D18209.

Test Plan

With debug:

ninja check check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Branch
avalanche_avoid_recursive_cs
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33549
Build 66577: Build Difflint-circular-dependencies · build-clang · build-diff · build-debug · build-without-wallet · build-clang-tidy
Build 66576: arc lint + arc unit