dehistory

package
v0.61.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeHistory

func DeHistory(ctx context.Context, parser *flags.Parser) error

func GetHighestContiguousHistoryFromHistorySegments

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

Types

type Cmd

type Cmd struct {
	// Subcommands
	Show                          showCmd              `command:"show" description:"shows decentralised history segments currently stored by the node"`
	Load                          loadCmd              `command:"load" description:"loads the most recent contiguous history from decentralised history into the datanode"`
	Fetch                         fetchCmd             `` /* 160-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"`
}

Jump to

Keyboard shortcuts

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