validator

package
v4.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: GPL-3.0 Imports: 2 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeaconCommitteeSubscription added in v4.1.0

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

type Status added in v4.2.0

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

func StatusFromString added in v4.2.0

func StatusFromString(s string) (bool, Status)

func (Status) String added in v4.2.0

func (s Status) String() string

type SyncCommitteeSubscription added in v4.1.0

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