networkhistory

package
v0.67.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHighestContiguousHistoryFromHistorySegments

func GetHighestContiguousHistoryFromHistorySegments(histories []*v2.HistorySegment) []aggregation.AggregatedHistorySegment

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              `command:"load" description:"loads the most recent contiguous network history stored by the node into the datanode"`
	Fetch                         fetchCmd             `` /* 142-byte string literal not displayed */
	LatestHistorySegmentFromPeers latestHistorySegment `` /* 134-byte string literal not displayed */
	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