Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PerformServeSnapshotsValidationChecks ¶ added in v1.6.0
func PerformServeSnapshotsValidationChecks(engine types.Engine, chainRest string, snapshotPoolId, blockPoolId, startHeight, targetHeight int64) (snapshotBundleId, snapshotHeight int64, err error)
PerformServeSnapshotsValidationChecks checks if the targetHeight lies in the range of available blocks and checks if a state-sync snapshot is available right before the startHeight
func StartServeSnapshotsWithBinary ¶
func StartServeSnapshotsWithBinary(engine types.Engine, binaryPath, homePath, chainRest, storageRest string, blockPoolId int64, metricsServer bool, metricsPort, snapshotPoolId, snapshotPort, targetHeight, snapshotBundleId, snapshotHeight int64, skipCrisisInvariants, pruning, keepSnapshots, skipWaiting, debug bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.