Page MenuHomePhabricator

Fix missing lock in AvalancheProcessor::getInvsForNextPoll()
ClosedPublic

Authored by Fabien on Jan 11 2019, 17:29.

Details

Summary

IsWorthPolling requires cs_main to be held (for
IsBlockFinalized that accesses pIndexFinalized)

Test Plan
./autogen.sh
mkdir build
cd build
../configure --enable-debug
make -j<your machine number of logic core> check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
avalanche_fix_missing_lock
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4488
Build 7039: Bitcoin ABC Buildbot (legacy)
Build 7038: arc lint + arc unit