snapshot

package
v0.0.0-...-97e54d3 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommand

func GetCommand() *cobra.Command

Types

type IBFTSnapshotResult

type IBFTSnapshotResult struct {
	Number     uint64             `json:"number"`
	Hash       string             `json:"hash"`
	Votes      []IBFTSnapshotVote `json:"votes"`
	Validators []string           `json:"validators"`
}

func (*IBFTSnapshotResult) GetOutput

func (r *IBFTSnapshotResult) GetOutput() string

type IBFTSnapshotVote

type IBFTSnapshotVote struct {
	Proposer string          `json:"proposer"`
	Address  string          `json:"address"`
	Vote     ibftHelper.Vote `json:"vote"`
}

Jump to

Keyboard shortcuts

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