Bitcoin Core 28.99.0
P2P Digital Currency
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 1444 of file net.h.

Member Data Documentation

◆ m_addrs_response_cache

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

Definition at line 1445 of file net.h.

◆ m_cache_entry_expiration

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

Definition at line 1446 of file net.h.


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