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
Branch
avaquerytimeout
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4167
Build 6400: Bitcoin ABC Buildbot (legacy)
Build 6399: arc lint + arc unit

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.