HomePhabricator

[avalanche] don't ignore avapoll and avaresponse while importing

Description

[avalanche] don't ignore avapoll and avaresponse while importing

Summary:
It is better not to ignore avaresponses while importing because it prevents detection and discouragement of invalid responses.
For avapolls, it is better to respond that we don't know than leave the peer hanging.

Add a test for the discouragement behavior of avaresponses that do not correspond to previous avapolls.

Addresses review D9482#inline-46570

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
PiRKAuthored on May 10 2021, 15:47
PiRKPushed on May 12 2021, 11:34
Reviewer
Restricted Project
Differential Revision
D9494: [avalanche] don't ignore avapoll and avaresponse while importing
Parents
rABC61c70bb129ac: [Cashtab] Show token info on Send Token screen
Branches
Unknown
Tags
Unknown