servesnapshots

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

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, snapshotPoolId, targetHeight, snapshotBundleId, snapshotHeight int64, appFlags string, pruning, keepSnapshots, skipWaiting, 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