Page MenuHomePhabricator

[avalanche] Clarify locking expectation in GetAvalancheVoteForTx
ClosedPublic

Authored by Fabien on Aug 21 2025, 09:38.

Details

Summary

Also release the cs_main lock when calling isPolled to avoid a lock order inversion between the RWLock for voteRecords and cs_main.

Test Plan

Run the abc_p2p_avalanche_transaction_finalization.py test with TSAN

Diff Detail

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