HomePhabricator

[avalanche] refactor getInvsForNextPoll to limit the scope of cs_main

Authored by deadalnix on Fri, Feb 1, 02:31.

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

Committed
deadalnixSun, Feb 3, 17:22
Pushed
deadalnixSun, Feb 3, 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