Page MenuHomePhabricator

Fix missing lock in AvalancheProcessor::getInvsForNextPoll()
ClosedPublic

Authored by Fabien on Fri, Jan 11, 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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Fri, Jan 11, 17:29
Herald added a reviewer: Restricted Project. · View Herald TranscriptFri, Jan 11, 17:29
Herald added a subscriber: schancel. · View Herald Transcript
deadalnix accepted this revision.Fri, Jan 11, 22:28
This revision is now accepted and ready to land.Fri, Jan 11, 22:28
This revision was automatically updated to reflect the committed changes.