statesync

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PerformStateSyncValidationChecks

func PerformStateSyncValidationChecks(chainRest string, snapshotPoolId, targetHeight int64, userInput bool) (snapshotBundleId, snapshotHeight int64, err error)

PerformStateSyncValidationChecks checks if a snapshot is available for the targetHeight and if not returns the nearest available snapshot below the targetHeight. It also returns the bundle id for the snapshot

func StartStateSync

func StartStateSync(engine types.Engine, chainRest, storageRest string, snapshotPoolId, snapshotBundleId int64) error

func StartStateSyncWithBinary

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

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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