types

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: Apache-2.0, BSD-3-Clause-Clear Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PacketType

type PacketType int
const (
	// Ping is packet type to ping remote node.
	Ping PacketType = iota + 1
	// RPC is packet type to execute RPC on a remote node.
	RPC
	// Cascade is packet type to send cascade message and execute RPC on each node of the cascade.
	Cascade
	// Pulse is packet type to receive Pulse from pulsard and resend it on remote nodes.
	Pulse
	// GetRandomHosts is packet type for pulsar daemon to get random hosts from insolar daemon.
	GetRandomHosts
	// Bootstrap is packet type for the node bootstrap process.
	Bootstrap
	// Authorize is packet type to authorize bootstrapping node on discovery node.
	Authorize
	// Register is packet type to connect node to discovery node and add join claim to consensus
	Register
	// Genesis is packet type for active list exchange between discovery nodes
	Genesis
	// Challenge1 is packet type for first phase of double challenge response
	Challenge1
	// Challenge2 is packet type for first phase of double challenge response
	Challenge2
	// Disconnect is packet type to gracefully disconnect from network.
	Disconnect
)

func (PacketType) String

func (i PacketType) String() string

Jump to

Keyboard shortcuts

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