libonomy-p2p

module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2020 License: MIT

README

libonomy-p2p

Directories

Path Synopsis
cmd
Package cmd is the base package for various sets of builds and executables created from go-libonomy
Package cmd is the base package for various sets of builds and executables created from go-libonomy
p2p
package p2p cmd is the main executable for running p2p tests and simulations
package p2p cmd is the main executable for running p2p tests and simulations
common
types
Package types defines the types used by go-libonomy consensus algorithms and structs
Package types defines the types used by go-libonomy consensus algorithms and structs
util
Package util provides common utility functions.
Package util provides common utility functions.
Package config contains go-libonomy node configuration definitions
Package config contains go-libonomy node configuration definitions
Package crypto provides funcs and types used by other packages to perform crypto related ops
Package crypto provides funcs and types used by other packages to perform crypto related ops
sha3
Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length hash functions defined by FIPS-202.
Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length hash functions defined by FIPS-202.
Package database defines interfaces to key value type databases used by various components in go-libonomy node
Package database defines interfaces to key value type databases used by various components in go-libonomy node
Package filesystem provides functionality for interacting with directories and files in a cross-platform manner.
Package filesystem provides functionality for interacting with directories and files in a cross-platform manner.
Package log provides the both file and console (general) logging capabilities to libonomy modules such as app and identity.
Package log provides the both file and console (general) logging capabilities to libonomy modules such as app and identity.
Package metrics defines telemetry primitives to be used across components.
Package metrics defines telemetry primitives to be used across components.
Package nattraversal provides tools for acquiring ports on a Network Address Translator (NAT).
Package nattraversal provides tools for acquiring ports on a Network Address Translator (NAT).
upnp
Package upnp provides a simple and opinionated interface to UPnP-enabled routers, allowing users to forward ports and discover their external IP address.
Package upnp provides a simple and opinionated interface to UPnP-enabled routers, allowing users to forward ports and discover their external IP address.
p2p
Package p2p provides a networking api for creating p2p protocols by enabling sending direct messages to a set of provided neighbors or broadcasting a message to all of them.
Package p2p provides a networking api for creating p2p protocols by enabling sending direct messages to a set of provided neighbors or broadcasting a message to all of them.
config
Package config defines configuration used in the p2p package
Package config defines configuration used in the p2p package
connectionpool
Package connectionpool functions as a connection cache that takes care of connecting and reusing connected sockets.
Package connectionpool functions as a connection cache that takes care of connecting and reusing connected sockets.
discovery
Package discovery implements uses bitcoin-based addrbook to store network addresses and collects them by crawling the network using a simple protocol.
Package discovery implements uses bitcoin-based addrbook to store network addresses and collects them by crawling the network using a simple protocol.
gossip
Package gossip implements simple protocol to send new validated messages to all peers and ignore old or not valid messages.
Package gossip implements simple protocol to send new validated messages to all peers and ignore old or not valid messages.
metrics
Package metrics defines metric reporting for the p2p component.
Package metrics defines metric reporting for the p2p component.
net
Package net manages the accepting network connections/messages and routing the data upward for the protocols to consume.
Package net manages the accepting network connections/messages and routing the data upward for the protocols to consume.
net/wire/delimited
Package delimited implements a reader and writer for simple streams of length-delimited byte records.
Package delimited implements a reader and writer for simple streams of length-delimited byte records.
node
Package node defines simple data structures to represent p2p node identities.
Package node defines simple data structures to represent p2p node identities.
p2pcrypto
Package p2pcrypto defines the cryptographic primitives used to communicate and identify in the p2p network, it uses go stdlib's NaCL box implementation.
Package p2pcrypto defines the cryptographic primitives used to communicate and identify in the p2p network, it uses go stdlib's NaCL box implementation.
server
Package server is used to wrap the p2p services to define multiple req-res messages under one protocol.
Package server is used to wrap the p2p services to define multiple req-res messages under one protocol.
service
Package service defines basic interfaces to for protocols to consume p2p functionality.
Package service defines basic interfaces to for protocols to consume p2p functionality.
version
Package version includes methods to compare versions between nodes.
Package version includes methods to compare versions between nodes.
Package timesync is used to check system time reliability by communicating with NTP time servers.
Package timesync is used to check system time reliability by communicating with NTP time servers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL