api

package
v0.11.6 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 License: Apache-2.0 Imports: 4 Imported by: 158

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VersionedBlindedBeaconBlock

type VersionedBlindedBeaconBlock struct {
	Version   spec.DataVersion
	Bellatrix *apiv1.BlindedBeaconBlock
}

VersionedBlindedBeaconBlock contains a versioned blinded beacon block.

func (*VersionedBlindedBeaconBlock) Attestations

func (v *VersionedBlindedBeaconBlock) Attestations() ([]*phase0.Attestation, error)

Attestations returns the attestations of the beacon block.

func (*VersionedBlindedBeaconBlock) BodyRoot

func (v *VersionedBlindedBeaconBlock) BodyRoot() (phase0.Root, error)

BodyRoot returns the body root of the beacon block.

func (*VersionedBlindedBeaconBlock) IsEmpty

func (v *VersionedBlindedBeaconBlock) IsEmpty() bool

IsEmpty returns true if there is no block.

func (*VersionedBlindedBeaconBlock) ParentRoot

func (v *VersionedBlindedBeaconBlock) ParentRoot() (phase0.Root, error)

ParentRoot returns the parent root of the beacon block.

func (*VersionedBlindedBeaconBlock) Root

Root returns the root of the beacon block.

func (*VersionedBlindedBeaconBlock) Slot

Slot returns the slot of the beacon block.

func (*VersionedBlindedBeaconBlock) StateRoot

func (v *VersionedBlindedBeaconBlock) StateRoot() (phase0.Root, error)

StateRoot returns the state root of the beacon block.

type VersionedSignedBlindedBeaconBlock

type VersionedSignedBlindedBeaconBlock struct {
	Version   spec.DataVersion
	Bellatrix *apiv1.SignedBlindedBeaconBlock
}

VersionedSignedBlindedBeaconBlock contains a versioned signed blinded beacon block.

func (*VersionedSignedBlindedBeaconBlock) Attestations

Attestations returns the attestations of the beacon block.

func (*VersionedSignedBlindedBeaconBlock) AttesterSlashings

func (v *VersionedSignedBlindedBeaconBlock) AttesterSlashings() ([]*phase0.AttesterSlashing, error)

AttesterSlashings returns the attester slashings of the beacon block.

func (*VersionedSignedBlindedBeaconBlock) BodyRoot

BodyRoot returns the body root of the beacon block.

func (*VersionedSignedBlindedBeaconBlock) ParentRoot

ParentRoot returns the parent root of the beacon block.

func (*VersionedSignedBlindedBeaconBlock) ProposerSlashings

func (v *VersionedSignedBlindedBeaconBlock) ProposerSlashings() ([]*phase0.ProposerSlashing, error)

ProposerSlashings returns the proposer slashings of the beacon block.

func (*VersionedSignedBlindedBeaconBlock) Root

Root returns the root of the beacon block.

func (*VersionedSignedBlindedBeaconBlock) Slot

Slot returns the slot of the signed beacon block.

func (*VersionedSignedBlindedBeaconBlock) StateRoot

StateRoot returns the state root of the beacon block.

Directories

Path Synopsis
Code generated by fastssz.
Code generated by fastssz.

Jump to

Keyboard shortcuts

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