HomePhabricator

[avalanche] Reject votes that fromnodes which already are in the quorum.

Description

[avalanche] Reject votes that fromnodes which already are in the quorum.

Summary:
This ensure we do not poll the same node again and again. By ensuring the quorum is diverse and that we do not have too many requests in flight, we ensure that we do not run ahead o the network.

Depends on D2583 and D2585

Test Plan: Added tests cases

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: jasonbcox, teamcity, schancel

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

Details

Provenance
deadalnixAuthored on Feb 3 2019, 18:54
deadalnixPushed on Mar 1 2019, 00:37
Reviewer
Restricted Project
Differential Revision
D2586: [avalanche] Reject votes that fromnodes which already are in the quorum.
Parents
rABC32f04379b4e5: Remove redundant check (!ecc is always true)
Branches
Unknown
Tags
Unknown