HomePhabricator

[avalanche] refactor getInvsForNextPoll to limit the scope of cs_main

Description

[avalanche] refactor getInvsForNextPoll to limit the scope of cs_main

Summary: It's a good idea to limit the scope over which you hold cs_main.

Test Plan:

make check

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: teamcity, schancel

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

Details

Provenance
deadalnixAuthored on Feb 1 2019, 02:31
deadalnixPushed on Feb 3 2019, 17:22
Reviewer
Restricted Project
Differential Revision
D2472: [avalanche] refactor getInvsForNextPoll to limit the scope of cs_main
Parents
rABCd63753277704: [avalanche] Group constants definition together
Branches
Unknown
Tags
Unknown