diff options
| author | Suhas Daftuar <[email protected]> | 2019-04-16 15:48:55 -0400 |
|---|---|---|
| committer | Suhas Daftuar <[email protected]> | 2019-05-28 16:22:10 -0400 |
| commit | f635a3ba118aeaf172534f9f802721a6ef07cafc (patch) | |
| tree | a6dfb9d887728b591446de14177a982ba277a63d /src/httpserver.cpp | |
| parent | Remove NOTFOUND transactions from in-flight data structures (diff) | |
| download | discoin-f635a3ba118aeaf172534f9f802721a6ef07cafc.tar.xz discoin-f635a3ba118aeaf172534f9f802721a6ef07cafc.zip | |
Expire old entries from the in-flight tx map
If a peer hasn't responded to a getdata request, eventually time out the request
and remove it from the in-flight data structures. This is to prevent any bugs in
our handling of those in-flight data structures from filling up the in-flight
map and preventing us from requesting more transactions (such as the NOTFOUND
bug, fixed in a previous commit).
Co-authored-by: Anthony Towns <[email protected]>
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions