Bitcoin Core  0.21.1
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
Public Attributes | List of all members
CConnman::CachedAddrResponse Struct Reference

Cache responses to addr requests to minimize privacy leak. More...

Public Attributes

std::vector< CAddressm_addrs_response_cache
 
std::chrono::microseconds m_cache_entry_expiration {0}
 

Detailed Description

Cache responses to addr requests to minimize privacy leak.

Attack example: scraping addrs in real-time may allow an attacker to infer new connections of the victim by detecting new records with fresh timestamps (per self-announcement).

Definition at line 516 of file net.h.

Member Data Documentation

std::vector<CAddress> CConnman::CachedAddrResponse::m_addrs_response_cache

Definition at line 517 of file net.h.

std::chrono::microseconds CConnman::CachedAddrResponse::m_cache_entry_expiration {0}

Definition at line 518 of file net.h.


The documentation for this struct was generated from the following file: