Skip to content

Commit

Permalink
Merge branch 'main' into cleanup-alt
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 authored Nov 26, 2023
2 parents 357515a + f08cc2d commit 140f6c1
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 140f6c1

Please sign in to comment.