validator

package
v5.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeaconCommitteeSubscription

type BeaconCommitteeSubscription struct {
	ValidatorIndex   primitives.ValidatorIndex
	CommitteeIndex   primitives.CommitteeIndex
	CommitteesAtSlot uint64
	Slot             primitives.Slot
	IsAggregator     bool
}

type Status

type Status int8
const (
	PendingInitialized Status = iota
	PendingQueued
	ActiveOngoing
	ActiveExiting
	ActiveSlashed
	ExitedUnslashed
	ExitedSlashed
	WithdrawalPossible
	WithdrawalDone
	Active
	Pending
	Exited
	Withdrawal
)

func StatusFromString

func StatusFromString(s string) (bool, Status)

func (Status) String

func (s Status) String() string

type SyncCommitteeSubscription

type SyncCommitteeSubscription struct {
	ValidatorIndex       primitives.ValidatorIndex
	SyncCommitteeIndices []uint64
	UntilEpoch           primitives.Epoch
}

type Uint64

type Uint64 uint64

Uint64 custom uint64 to be unmarshallable

func (*Uint64) UnmarshalJSON

func (u *Uint64) UnmarshalJSON(bs []byte) error

UnmarshalJSON custom unmarshal function for json

func (*Uint64) UnmarshalYAML

func (u *Uint64) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML custom unmarshal function for yaml

Jump to

Keyboard shortcuts

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