HomePhabricator

Fix missing lock in AvalancheProcessor::getInvsForNextPoll()

Description

Fix missing lock in AvalancheProcessor::getInvsForNextPoll()

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

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: teamcity, schancel

Differential Revision: https://reviews.bitcoinabc.org/D2296

Details

Provenance
FabienAuthored on Jan 11 2019, 17:26
FabienPushed on Jan 12 2019, 09:42
Reviewer
Restricted Project
Differential Revision
D2296: Fix missing lock in AvalancheProcessor::getInvsForNextPoll()
Parents
rABC5c41057a1d7f: Add check of undocumented arguments to the release process
Branches
Unknown
Tags
Unknown