#p2p #peer #parallel-chain #networking #protocols #layer #transport

pchain_network

parallelchain-network: Libp2p based Network Layer implementation for ParallelChain Mainnet

1 unstable release

0.4.3 Apr 29, 2024

#1 in #parallel-chain

Download history 158/week @ 2024-04-29

158 downloads per month

Apache-2.0

47KB
781 lines

ParallelChain Network

Implementation of ParallelChain Protocol peer-to-peer (P2P) networking.

ParallelChain Network is a combination of 4 libp2p protocols running on top of a Noise-authenticated TCP transport:

  1. Kademlia forms and maintains a connected and efficient network topology: every peer can reach every other peer in a small number of hops.
  2. Identify lets peers inform other peers of changes in their basic information.
  3. Ping lets peers quickly check the liveness of other peers.
  4. Gossipsub implements the primary useful function of ParallelChain Network: general publish/subscribe messaging.

Compatibility

This version (v0.4.3) of pchain-network implements v0.4 of the ParallelChain Protocol.

Usage

Starting a pchain_network peer: docs.rs.

Opening an issue

Open an issue in GitHub if you:

  1. Have a feature request / feature idea,
  2. Have any questions (particularly software related questions),
  3. Think you may have discovered a bug.

Please try to label your issues appropriately.

Dependencies

~0–38MB
~597K SLoC