heightsync

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PerformHeightSyncValidationChecks added in v1.6.0

func PerformHeightSyncValidationChecks(engine types.Engine, chainRest string, snapshotPoolId, blockPoolId, targetHeight int64, userInput bool) (snapshotBundleId, snapshotHeight int64, err error)

PerformHeightSyncValidationChecks checks if the targetHeight lies in the range of available blocks and checks if a state-sync snapshot is available right before the targetHeight

func StartHeightSyncWithBinary

func StartHeightSyncWithBinary(engine types.Engine, binaryPath, homePath, chainId, chainRest, storageRest string, snapshotPoolId, blockPoolId, targetHeight, snapshotBundleId, snapshotHeight int64, optOut, debug bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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