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

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

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

~18–55MB
~874K SLoC