Documentation ¶
Index ¶
- type VersionedBlindedBeaconBlock
- func (v *VersionedBlindedBeaconBlock) Attestations() ([]*phase0.Attestation, error)
- func (v *VersionedBlindedBeaconBlock) BodyRoot() (phase0.Root, error)
- func (v *VersionedBlindedBeaconBlock) IsEmpty() bool
- func (v *VersionedBlindedBeaconBlock) ParentRoot() (phase0.Root, error)
- func (v *VersionedBlindedBeaconBlock) Root() (phase0.Root, error)
- func (v *VersionedBlindedBeaconBlock) Slot() (phase0.Slot, error)
- func (v *VersionedBlindedBeaconBlock) StateRoot() (phase0.Root, error)
- type VersionedSignedBlindedBeaconBlock
- func (v *VersionedSignedBlindedBeaconBlock) Attestations() ([]*phase0.Attestation, error)
- func (v *VersionedSignedBlindedBeaconBlock) AttesterSlashings() ([]*phase0.AttesterSlashing, error)
- func (v *VersionedSignedBlindedBeaconBlock) BodyRoot() (phase0.Root, error)
- func (v *VersionedSignedBlindedBeaconBlock) ParentRoot() (phase0.Root, error)
- func (v *VersionedSignedBlindedBeaconBlock) ProposerSlashings() ([]*phase0.ProposerSlashing, error)
- func (v *VersionedSignedBlindedBeaconBlock) Root() (phase0.Root, error)
- func (v *VersionedSignedBlindedBeaconBlock) Slot() (phase0.Slot, error)
- func (v *VersionedSignedBlindedBeaconBlock) StateRoot() (phase0.Root, error)
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 ¶
func (v *VersionedBlindedBeaconBlock) Root() (phase0.Root, error)
Root returns the 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 ¶
func (v *VersionedSignedBlindedBeaconBlock) Attestations() ([]*phase0.Attestation, error)
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 ¶
func (v *VersionedSignedBlindedBeaconBlock) BodyRoot() (phase0.Root, error)
BodyRoot returns the body root of the beacon block.
func (*VersionedSignedBlindedBeaconBlock) ParentRoot ¶
func (v *VersionedSignedBlindedBeaconBlock) ParentRoot() (phase0.Root, error)
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 ¶
func (v *VersionedSignedBlindedBeaconBlock) Root() (phase0.Root, error)
Root returns the root of the beacon block.