HomePhabricator

[avalanche] Use utility method to find slots

Description

[avalanche] Use utility method to find slots

Summary:
It makes the code clearer.

Depends on D6773

Test Plan:

ninja all check-avalanche

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

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

Details

Provenance
deadalnixAuthored on Jun 29 2020, 13:26
deadalnixPushed on Jun 30 2020, 01:37
Reviewer
Restricted Project
Differential Revision
D6776: [avalanche] Use utility method to find slots
Parents
rABC130a15b2b73b: [avalanche] Add the ability to remove and rescore peers
Branches
Unknown
Tags
Unknown