vegacmd

package
v0.73.9 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoreSnashotInput

type CoreSnashotInput struct {
	VegaHome       string
	SnapshotDbPath string
}

type CoreToolsSnapshot

type CoreToolsSnapshot struct {
	Height  int    `json:"height"`
	Version int    `json:"version"`
	Size    int    `json:"size"`
	Hash    string `json:"hash"`
}

{"snapshots":[{"height":5648600,"version":18830,"size":71,"hash":"80bedacff88b8069f3abfff49d42930c553632ce48ecc6f675339955edd8f24a"},

func LatestCoreSnapshot

func LatestCoreSnapshot(vegaBinary string, input CoreSnashotInput) (*CoreToolsSnapshot, error)

type CoreToolsSnapshots

type CoreToolsSnapshots struct {
	Snapshots []CoreToolsSnapshot `json:"snapshots"`
}

func ListCoreSnapshots

func ListCoreSnapshots(vegaBinary string, input CoreSnashotInput) (*CoreToolsSnapshots, error)

Jump to

Keyboard shortcuts

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