aggregation

package
v0.67.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregatedHistorySegment

type AggregatedHistorySegment struct {
	HeightFrom int64
	HeightTo   int64
	ChainID    string
}

func GetHighestContiguousHistory

func GetHighestContiguousHistory(aggHistory []AggregatedHistorySegment) []AggregatedHistorySegment

func GetHighestContiguousHistoryFromSegmentIndexEntry

func GetHighestContiguousHistoryFromSegmentIndexEntry(histories []store.SegmentIndexEntry) []AggregatedHistorySegment

GetHighestContiguousHistoryFromSegmentIndexEntry returns the contiguous history oldest segment first.

Jump to

Keyboard shortcuts

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