Page MenuHomePhabricator

[avalanche] Expire queries once they reached their timeout.
ClosedPublic

Authored by deadalnix on Nov 27 2018, 15:29.

Details

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.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien added inline comments.
src/test/avalanche_tests.cpp
515 ↗(On Diff #6131)

soltuion => solution

This revision is now accepted and ready to land.Nov 27 2018, 17:24
This revision was automatically updated to reflect the committed changes.