networkhistory

package
v0.71.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NetworkHistory

func NetworkHistory(_ context.Context, parser *flags.Parser) error

Types

type Cmd

type Cmd struct {
	// Subcommands
	Show                          showCmd                       `command:"show" description:"shows network history segments currently stored by the node"`
	Load                          loadCmd                       `` /* 196-byte string literal not displayed */
	Rollback                      rollbackCmd                   `` /* 173-byte string literal not displayed */
	Fetch                         fetchCmd                      `` /* 178-byte string literal not displayed */
	LatestHistorySegmentFromPeers latestHistorySegmentFromPeers `` /* 145-byte string literal not displayed */
	LatestHistorySegment          latestHistorySegment          `command:"latest-history-segment" description:"latest-history-segment returns the id of the node's latest history segment"`
	ListActivePeers               listActivePeers               `command:"list-active-peers" description:"list the active datanode peers"`
	Copy                          copyCmd                       `command:"copy" description:"copy a history segment from network history to a file"`
}

Jump to

Keyboard shortcuts

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