Skip to content

Commit

Permalink
docs: add a connection vs. protocols flowchart
Browse files Browse the repository at this point in the history
Signed-off-by: ljedrz <[email protected]>
  • Loading branch information
ljedrz committed Apr 24, 2023
1 parent 63d7d21 commit 9fab1ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Binary file added assets/connection_lifetime.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/protocols/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
//! Opt-in protocols available to the node; each protocol is expected to spawn its own task that runs throughout the
//! node's lifetime and handles a specific functionality. The communication with these tasks is done via dedicated
//! handler objects.
//!
//! A flowchart detailing how the protocols interact with a connection during its lifetime can be seen
//! [here](https://github.com/ljedrz/pea2pea/tree/master/assets/connection_lifetime.png).
use std::{io, net::SocketAddr};

Expand Down

0 comments on commit 9fab1ed

Please sign in to comment.