common

package
v5.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const FailedBlockSignLocalErr = "block rejected by local protection"

Variables

This section is empty.

Functions

func InitializeProgressBar

func InitializeProgressBar(numItems int, msg string) *progressbar.ProgressBar

Types

type AttestationRecord

type AttestationRecord struct {
	PubKey      [fieldparams.BLSPubkeyLength]byte
	Source      primitives.Epoch
	Target      primitives.Epoch
	SigningRoot []byte
}

AttestationRecord which can be represented by these simple values for manipulation by database methods.

type Proposal

type Proposal struct {
	Slot        primitives.Slot `json:"slot"`
	SigningRoot []byte          `json:"signing_root"`
}

Proposal representation for a validator public key.

type ProposalHistoryForPubkey

type ProposalHistoryForPubkey struct {
	Proposals []Proposal
}

ProposalHistoryForPubkey for a validator public key.

Jump to

Keyboard shortcuts

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