HomePhabricator

[avalanche] Expire queries once they reached their timeout.

Authored by deadalnix on Tue, Nov 27, 00:03.

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

Committed
deadalnixThu, Nov 29, 17:39
Pushed
schancelThu, Nov 29, 20:13
Reviewer
Fabien
Differential Revision
D2143: [avalanche] Expire queries once they reached their timeout.
Parents
rSTAGING80acc8fd3b66: [avalanche] Delegate node management to caller
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/6175