Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeaconBlock ¶
type BeaconBlock interface { Slot() types.Slot ProposerIndex() types.ValidatorIndex ParentRoot() []byte StateRoot() []byte Body() BeaconBlockBody IsNil() bool HashTreeRoot() ([32]byte, error) MarshalSSZ() ([]byte, error) Proto() proto.Message }
BeaconBlock describes an interface which states the methods employed by an object that is a beacon block.
type BeaconBlockBody ¶
type BeaconBlockBody interface { RandaoReveal() []byte Eth1Data() *ethpb.Eth1Data Graffiti() []byte ProposerSlashings() []*ethpb.ProposerSlashing AttesterSlashings() []*ethpb.AttesterSlashing Attestations() []*ethpb.Attestation Deposits() []*ethpb.Deposit VoluntaryExits() []*ethpb.SignedVoluntaryExit IsNil() bool HashTreeRoot() ([32]byte, error) Proto() proto.Message }
BeaconBlockBody describes the method set employed by an object that is a beacon block body.
type SignedBeaconBlock ¶
type SignedBeaconBlock interface { Block() BeaconBlock Signature() []byte IsNil() bool Copy() SignedBeaconBlock MarshalSSZ() ([]byte, error) Proto() proto.Message PbPhase0Block() (*ethpb.SignedBeaconBlock, error) }
SignedBeaconBlock is an interface describing the method set of a signed beacon block.
Click to show internal directories.
Click to hide internal directories.