HomePhabricator

[avalanche] Use a multi_index to track request so it is easy to determine which…

Authored by deadalnix on Mon, Nov 26, 18:52.

Description

[avalanche] Use a multi_index to track request so it is easy to determine which timed out.

Summary:
As per title. This also adds the requirement that an avaresponse needs to return the round it is responding to. This ensure it is possible to have several queries in flight for a given node if we want to.

Depends on D2122

Test Plan: Updated unit tests accordingly.

Reviewers: #bitcoin_abc, jasonbcox, Fabien

Reviewed By: #bitcoin_abc, jasonbcox, Fabien

Subscribers: Fabien, jasonbcox, teamcity, schancel

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

Details

Committed
deadalnixWed, Nov 28, 23:43
Pushed
deadalnixWed, Nov 28, 23:43
Reviewer
Restricted Project
Differential Revision
D2137: [avalanche] Use a multi_index to track request so it is easy to determine which timed out.
Parents
rABC407240d4555f: Fix nits in bitcoingui.cpp
Branches
Unknown
Tags
Unknown