From c12da9d12c2ff6d972c5c18296b71e0b2dcb9a17 Mon Sep 17 00:00:00 2001 From: teor Date: Tue, 20 Apr 2021 06:57:02 +1000 Subject: [PATCH] Clarify CandidateSet state diagram We get inbound connections on the listener port, but the important part is the inbound connection itself. --- zebra-network/src/peer_set/candidate_set.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zebra-network/src/peer_set/candidate_set.rs b/zebra-network/src/peer_set/candidate_set.rs index ea37dee0ce6..602624b82e6 100644 --- a/zebra-network/src/peer_set/candidate_set.rs +++ b/zebra-network/src/peer_set/candidate_set.rs @@ -43,7 +43,7 @@ use crate::{constants, types::MetaAddr, AddressBook, BoxError, Request, Response /// │ │ /// │ │ /// │ ┌──────────────────┐ │ -/// │ │ Listener Port │ │ +/// │ │ Inbound │ │ /// │ │ Peer Connections │ │ /// │ └──────────────────┘ │ /// │ │ │ @@ -68,7 +68,7 @@ use crate::{constants, types::MetaAddr, AddressBook, BoxError, Request, Response /// ╲ ╱ to remove live │ /// V `Responded` peers │ /// │ │ -/// │ │ +/// │ Try outbound connection │ /// ▼ │ /// ┌────────────────┐ │ /// │`AttemptPending`│ │