HomePhabricator

Cache responses to addr requests

Description

Cache responses to addr requests

Summary:
Prevents a spy from scraping victim's AddrMan by
reconnecting and re-requesting addrs.
This is a backport of core#18991 [3/5]
https://github.com/bitcoin/bitcoin/pull/18991/commits/acd6135b43941fa51d52f5fcdb2ce944280ad01e

Depends on D10054

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Differential Revision: https://reviews.bitcoinabc.org/D10055

Details

Provenance
Gleb Naumenko <naumenko.gs@gmail.com>Authored on May 17 2020, 01:05
PiRKCommitted on Sep 7 2021, 07:17
PiRKPushed on Sep 7 2021, 07:17
Reviewer
Restricted Project
Differential Revision
D10055: Cache responses to addr requests
Parents
rABCfe421f64f668: Remove useless 2500 limit on AddrMan queries
Branches
Unknown
Tags
Unknown

Event Timeline