From 2ed8bb00cf04af8b5fcb108045b558845b9882e5 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 ea37dee0c..602624b82 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`│ │