Skip to content

spec/p2p: Document channels and multiplex connections #600

Open

Description

@cason

A multiplex connection implements multiple abstract communication channels along a single network connection.

A node maintains a MConnection instance for exchanging messages with each connected peer and each Channel is a (fairly) independent message stream connecting the instances of a reactor running at the node and at the peer.

Definition of Done

  • Document the channel abstraction and its relation with reactors
  • Document the concept of channel Priority and its implementation
  • Document the Send and TrySend methods used to send messages to peers
  • Overview the logic for sending and receiving messages and packets in a multiplex connection

Activity

  1. self-assigned this
    on Mar 28, 2023
  2. added
    spec
    on Mar 28, 2023
  3. added this to the 2023-Q2 milestone on Mar 28, 2023
  4. changed the title [-]spec/p2p: Document the multiplex connections[/-] [+]spec/p2p: Document channels and multiplex connections[/+] on Mar 28, 2023
  5. assigned and unassigned on May 5, 2023
  6. removed this from the 2023-Q2 milestone on Jun 1, 2023
  7. removed their assignment
    on Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    p2pspec

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions