node

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2022 License: MIT Imports: 19 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, signer crypto.Signer) (*Node, error)

func (*Node) Consensus

func (n *Node) Consensus() consensus.Reader

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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