guts-p2p 0.1.0

P2P networking layer for Guts decentralized code collaboration
Documentation

guts-p2p

P2P networking layer for Guts using commonware primitives.

Overview

This crate provides peer-to-peer networking for:

  • Repository replication across nodes
  • Encrypted communication (Noise protocol)
  • Peer discovery and mesh networking
  • Efficient delta synchronization

Features

  • Built on commonware-p2p
  • Ed25519-based peer identity
  • Automatic peer discovery
  • Bandwidth-efficient synchronization

Usage

use guts_p2p::{P2PNetwork, ReplicationConfig};

// Start P2P network
let network = P2PNetwork::new(config).await?;

// Replicate a repository
network.replicate(&repo_key).await?;

Part of Guts

This crate is part of Guts, a decentralized, censorship-resistant alternative to GitHub built on BFT consensus.

License

MIT OR Apache-2.0