Documentation
¶
Index ¶
- func PerformStateSyncValidationChecks(chainRest string, snapshotPoolId, targetHeight int64, userInput bool) (snapshotBundleId, snapshotHeight int64, err error)
- func StartStateSync(engine types.Engine, chainRest, storageRest string, ...) error
- func StartStateSyncWithBinary(engine types.Engine, binaryPath, chainId, chainRest, storageRest string, ...)
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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.