package
0.0.1
Repository: https://github.com/libonomy/libonomy-p2p.git
Documentation: pkg.go.dev

# Functions

DefaultConfig defines the default p2p configuration.

# Constants

params are non-configurable (hard-coded) consts.
NetworkID represents the network that the node lives in that indicates what nodes it can communicate with, and which bootstrap nodes to use.
params are non-configurable (hard-coded) consts.
NodeDataFileName is the name of the file we store the the p2p identity keys.
NodesDirectoryName is the name of the directory we store nodes identities under.
P2PDirectoryPath is the name of the directory where we store p2p stuff.
NetworkID represents the network that the node lives in that indicates what nodes it can communicate with, and which bootstrap nodes to use.
UnlimitedMsgSize is a constant used to check whether message size is set to unlimited size.

# Variables

Values specifies default values for node config params.

# Structs

Config defines the configuration options for the libonomy peer-to-peer networking layer.
SwarmConfig specifies swarm config params.