HomePhabricator

[avalanche] Implement the challenge/response protocol

Description

[avalanche] Implement the challenge/response protocol

Summary:
This implement the voting mechanism, with pools and responses and account for the votes properly. The peer selection is not done at this point in time.

Depends on D2045

Test Plan:

make check

Updated tests and added new ones to reflect the added fonctionalities.

Reviewers: #bitcoin_abc, jasonbcox, schancel, Fabien

Reviewed By: #bitcoin_abc, jasonbcox, schancel, Fabien

Subscribers: Fabien, teamcity, jasonbcox

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

Details

Provenance
deadalnixAuthored on Nov 11 2018, 15:07
deadalnixPushed on Nov 24 2018, 16:32
Reviewer
Restricted Project
Differential Revision
D2046: [avalanche] Implement the challenge/response protocol
Parents
rABC3031ed6fed5f: [qa] Fix bip65-cltv-p2p to be compatible with magnetic anomaly
Branches
Unknown
Tags
Unknown