node

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	// contains filtered or unexported fields
}

func NewNode

func NewNode(genDoc *genesis.Genesis, conf *config.Config,
	valKeys []*bls.ValidatorKey, rewardAddrs []crypto.Address,
) (*Node, error)

func (*Node) ConsManager added in v0.10.0

func (n *Node) ConsManager() consensus.ManagerReader

func (*Node) GRPC added in v0.11.0

func (n *Node) GRPC() *grpc.Server

func (*Node) Network added in v0.16.0

func (n *Node) Network() network.Network

func (*Node) Start

func (n *Node) Start() error

func (*Node) State

func (n *Node) State() state.Facade

func (*Node) Stop

func (n *Node) Stop()

func (*Node) Sync

func (n *Node) Sync() sync.Synchronizer

Jump to

Keyboard shortcuts

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