node

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: GPL-3.0 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 {
	DB      *db.Database
	PidFile string
	// contains filtered or unexported fields
}

func New

func New(ctx *cli.Context, cfg *cmd.LedgerConfig) (*Node, error)

func (*Node) Close

func (n *Node) Close()

Close handles graceful shutdown of the system.

func (*Node) Register

func (n *Node) Register(constructor core.Service) error

func (*Node) Start

func (n *Node) Start()

Jump to

Keyboard shortcuts

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