node

package
v0.0.0-...-79e88c3 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2025 License: MIT Imports: 12 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(config *cfg.Config, chainId string, selfValidatorAddr string) (*Node, error)

func (*Node) Config

func (n *Node) Config() *cfg.Config

func (*Node) NodeInfo

func (n *Node) NodeInfo() p2p.NodeInfo

func (*Node) Start

func (n *Node) Start(ctx context.Context) error

func (*Node) Stop

func (n *Node) Stop(ctx context.Context) error

Jump to

Keyboard shortcuts

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