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 ¶
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.
Click to show internal directories.
Click to hide internal directories.