HomePhabricator

[avalanche] verify signature on avahello reception

Description

[avalanche] verify signature on avahello reception

Summary:
Verify the peer's signature using his delegated pubkey.
Add functional tests for the AvaHello handshake sequence.
Add a missing return at the end of the AvaHello branch in net_processing.cpp

Depends on D9564

Test Plan: ninja check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: deadalnix, Fabien

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

Details

Provenance
PiRKAuthored on May 31 2021, 14:29
PiRKPushed on May 31 2021, 20:05
Reviewer
Restricted Project
Differential Revision
D9565: [avalanche] verify signature on avahello reception
Parents
rABC44e68b5da0f6: [avalanche] include proof master and limited proofid in the delegation
Branches
Unknown
Tags
Unknown