commands

package
v0.0.0-...-215623d Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: GPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BodySnapshot

func BodySnapshot(ctx context.Context, dbPath, snapshotPath string, toBlock uint64, snapshotDir string, snapshotMode string, database string) error

func CopyFromState

func CopyFromState(ctx context.Context, dbpath string, snapshotPath string, block uint64, snapshotDir, snapshotMode string) error

func Execute

func Execute()

func GenerateStateSnapshot

func GenerateStateSnapshot(ctx context.Context, dbPath, snapshotPath string, toBlock uint64, snapshotDir string, snapshotMode string, database string) error

func HeaderSnapshot

func HeaderSnapshot(ctx context.Context, dbPath, snapshotPath string, toBlock uint64, snapshotDir string, snapshotMode string) error

func PrintMetaInfoHash

func PrintMetaInfoHash(path string) error

func VerifyHeadersSnapshot

func VerifyHeadersSnapshot(ctx context.Context, snapshotPath string) error

func VerifyStateSnapshot

func VerifyStateSnapshot(ctx context.Context, dbPath, snapshotPath string, block uint64, database string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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