HomePhabricator

[avalanche] Expire queries once they reached their timeout.

Description

[avalanche] Expire queries once they reached their timeout.

Summary:
So far, AvalancheProcessor leaks when a peer timesout. This ensures that queries that times out are effectively cleared with each event loop.

Depends on D2140

Test Plan: Added a test case.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: Fabien

Subscribers: Fabien, teamcity, schancel

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

Details

Provenance
deadalnixAuthored on Nov 27 2018, 00:03
deadalnixPushed on Nov 29 2018, 17:39
Reviewer
Fabien
Differential Revision
D2143: [avalanche] Expire queries once they reached their timeout.
Parents
rABC80acc8fd3b66: [avalanche] Delegate node management to caller
Branches
Unknown
Tags
Unknown