HomePhabricator

[avalanche] Implement the challenge/response protocol

Authored by deadalnix on Nov 11 2018, 15:07.

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

Committed
deadalnixSat, Nov 24, 16:32
Pushed
deadalnixSat, Nov 24, 16:48
Reviewer
Restricted Project
Differential Revision
D2046: [avalanche] Implement the challenge/response protocol
Parents
rSTAGING3031ed6fed5f: [qa] Fix bip65-cltv-p2p to be compatible with magnetic anomaly
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/6077, tag: phabricator/base/6076