Files

837 B

p2p

Overview

The p2p package provides a low-level networking abstraction for peer-to-peer communication in the Lux ecosystem. ```bash

Package Information

  • Type: go
  • Module: github.com/luxfi/p2p
  • Repository: github.com/luxfi/p2p

Directory Structure

.
gossip
p2ptest

Key Files

  • client.go
  • error.go
  • go.mod
  • handler.go
  • network.go
  • node_sampler.go
  • p2p_test.go
  • peer_tracker.go
  • router.go
  • sender.go

Development

Prerequisites

  • Go 1.21+

Build

go build ./...

Test

go test -v ./...

Integration with Lux Ecosystem

This package is part of the Lux blockchain ecosystem. See the main documentation at:


Auto-generated for AI assistants. Last updated: 2025-12-24