HomePhabricator

[avalanche] Clarify and simplify checking polled contenders

Description

[avalanche] Clarify and simplify checking polled contenders

Summary:
The current implementation is unnecessarily verbose and spreads out the accounting, making the intent less clear.

This patch makes it more clear and concise.

Test Plan:

./test/functional/test_runner.py abc_p2p_avalanche_contender_voting

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
roqqitAuthored on Tue, Feb 25, 20:03
roqqitPushed on Tue, Feb 25, 20:23
Reviewer
Restricted Project
Differential Revision
D17699: [avalanche] Clarify and simplify checking polled contenders
Parents
rABC7cab3cee14ab: Avoid inflight polls in getavaaddr_interval_test
Branches
Unknown
Tags
Unknown
References
HEAD -> master