p2p

package
v1.2.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Defines the bind addresses of this node.
	CfgP2PBindMultiAddresses = "p2p.bindMultiAddresses"
	// Defines the high watermark to use within the connection manager.
	CfgP2PConnMngHighWatermark = "p2p.connectionManager.highWatermark"
	// Defines the low watermark to use within the connection manager.
	CfgP2PConnMngLowWatermark = "p2p.connectionManager.lowWatermark"
	// Defines the private key used to derive the node identity (optional).
	CfgP2PIdentityPrivKey = "p2p.identityPrivateKey"
	// Defines the path to the p2p database.
	CfgP2PDatabasePath = "p2p.db.path"
	// Defines the time to wait before trying to reconnect to a disconnected peer.
	CfgP2PReconnectInterval = "p2p.reconnectInterval"
	// Defines the static peers this node should retain a connection to (config file).
	CfgP2PPeers = "p2p.peers"
	// Defines the aliases of the static peers (must be the same length like CfgP2PPeers) (CLI).
	CfgP2PPeerAliases = "p2p.peerAliases"
	// Defines the static peers this node should retain a connection to (CLI).
	CfgPeers = "peers"
)

Variables

View Source
var (
	CorePlugin *node.CorePlugin
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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