diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2019-04-16 15:48:55 -0400 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2019-05-28 16:22:10 -0400 |
commit | f635a3ba118aeaf172534f9f802721a6ef07cafc (patch) | |
tree | a6dfb9d887728b591446de14177a982ba277a63d /test | |
parent | e32e08407e2781d881b9da92aa06494525ddd085 (diff) | |
download | bitcoin-f635a3ba118aeaf172534f9f802721a6ef07cafc.tar.xz |
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 <aj@erisian.com.au>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions