Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit d0c3457

Browse files
Danieljmalicevicsergio-menajosef-widderDaniel Cason
authored
Documentation of v0.35 p2p layer: peer manager (#8982)
* Doc: documentation of new p2p layer, first commit * Doc: p2p peer manager abstraction, first commit * Doc: life cycle of a peer, first part * Doc: life cycle of a p2p peer, picture added * typos * Doc: life cycle of a p2p peer picture updated * Doc: life cycle of a p2p peer section refactored * Doc: p2p connection policy and connection slots * Doc: peer manager defines the connection policy * Doc: peer manager connection slots upgrading * Doc: peer manager eviction procedure introduced * Doc: several corrections in peer manager documentation * Doc: peer ranking mechanism documented * Doc: EvictNext peer manager transition documented * Doc: concept of candidate peer added to peer manager * Doc: peer manager documentation, aesthetic changes * Apply suggestions from code review (again) Co-authored-by: Sergio Mena <[email protected]> * Spec of v0.35 p2p layer moved to spec/p2p/v0.35 * Spec: p2p markdown links fixed * Spec: addressing more issues on peer manager spec * Spec: p2p peer manager DialNext algorithm * Spec: p2p peer manager Dial and Accepted algorithms * Spec: p2p router dialing peers thread * Spec: p2p router accept peers threads * Spec: p2p router evict peers routine * Spec: p2p router routing messages routines * Spec: p2p v0.35 readme points to other documents * Spec: fixing markdown links * Apply suggestions from Josef's code review * They state that this is a work in progress, that has been interrupted to focus on the specification of the p2p layer adopted by Tendermint v0.34. Co-authored-by: Josef Widder <[email protected]> * Spc: p2p v0.35 spec mentions new p2p layer Co-authored-by: Jasmina Malicevic <[email protected]> Co-authored-by: Sergio Mena <[email protected]> Co-authored-by: Josef Widder <[email protected]> Co-authored-by: Daniel Cason <[email protected]>
1 parent d433ebe commit d0c3457

File tree

4 files changed

+615
-0
lines changed

4 files changed

+615
-0
lines changed

spec/p2p/v0.35/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Peer-to-peer communication substrate - WIP
2+
3+
This document details the operation of the [`p2p`][p2p-package] package of
4+
Tendermint, refactored in the `v0.35` release.
5+
6+
**This is a work in progress** ([#8935][issue]). The following files represent the current (unfinished) state of this documentation. It has been decided not to finish the documents at this point in time, but to publish them here in the current form for future reference.
7+
8+
- [Peer manager](./peer_manager.md): determines when a node should connect to a
9+
new peer, and which peer is preferred for establishing connections.
10+
- [Router](./router.md): implements the actions instructed by the peer manager,
11+
and route messages between the local reactors and the remote peers.
12+
13+
[issue]: https://github.com/tendermint/tendermint/issues/8935
14+
[p2p-package]: https://github.com/tendermint/tendermint/tree/v0.35.x/internal/p2p

0 commit comments

Comments
 (0)