Skip to content

Commit

Permalink
Update zebra-network/src/peer/connection.rs
Browse files Browse the repository at this point in the history
Co-authored-by: teor <[email protected]>
  • Loading branch information
upbqdn and teor2345 authored Nov 23, 2023
1 parent 7b1db73 commit 60e35d3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions zebra-network/src/peer/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -546,10 +546,11 @@ where
///
/// When peers send solicited or unsolicited peer advertisements, Zebra puts them in this cache.
///
/// When Zebra's components request peers, some cached peers are consumed and returned as a
/// synthetic response. This works around `zcashd`'s address response rate-limit.
/// When Zebra's components request peers, some cached peers are randomly selected,
/// consumed, and returned as a modified response. This works around `zcashd`'s address
/// response rate-limit.
///
/// The cache is limited to avoid denial of service attacks.
/// The cache size is limited to avoid denial of service attacks.
pub(super) cached_addrs: Vec<MetaAddr>,

/// The `inbound` service, used to answer requests from this connection's peer.
Expand Down

0 comments on commit 60e35d3

Please sign in to comment.