snapshot

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 9 Imported by: 1

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 []validators.Validator `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