helpers

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSnapshotBoundaries

func GetSnapshotBoundaries(restEndpoint string, poolId int64) (startHeight int64, endHeight int64, err error)

GetSnapshotBoundaries returns the snapshot heights for the lowest complete snapshot and the highest complete snapshot. A complete snapshot contains all chunks of the snapshot, a snapshot which is currently still being archived can have the latest chunks missing, therefore being not usable.

func GetSnapshotPoolHeight

func GetSnapshotPoolHeight(restEndpoint string, poolId int64) int64

GetSnapshotPoolHeight returns the height of the snapshot the pool is currently archiving. Note that this snapshot can be not complete since for the state-sync to work all chunks have to be available.

Types

This section is empty.

Jump to

Keyboard shortcuts

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