snapshot

package
v0.0.0-...-f672fcd Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: Apache-2.0 Imports: 10 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 []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