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
Differential D9565
[avalanche] verify signature on avahello reception PiRK on May 21 2021, 06:53. Authored by
Details
Verify the peer's signature using his delegated pubkey. Depends on D9564 ninja check-functional
Diff Detail
Event Timeline
Comment Actions rebase Simplify TestNode.sendHello. Use waitfordisconnect to check banning behavior (reduces the test fragility if the logging changes)
Comment Actions remove logging on successfull signature verification. This makes it a difficult to test the success in the functional test. For the time being, checking that the good p2p interface is still connected after the bad one is disconnected is better than no test at all. Comment Actions Improve the check that the good interface is still connected, using sync_with_ping. This raises AssertionError if no pong is received in response to ping.
Comment Actions address review:
|