Documentation ¶
Index ¶
- type BeaconBlock
- func (BeaconBlock) AsSignRequestObject() (validatorpb.SignRequestObject, error)
- func (m BeaconBlock) Body() interfaces.ReadOnlyBeaconBlockBody
- func (BeaconBlock) Copy() (interfaces.ReadOnlyBeaconBlock, error)
- func (m BeaconBlock) HashTreeRoot() ([field_params.RootLength]byte, error)
- func (BeaconBlock) HashTreeRootWith(_ *ssz.Hasher) error
- func (BeaconBlock) IsBlinded() bool
- func (BeaconBlock) IsNil() bool
- func (BeaconBlock) MarshalSSZ() ([]byte, error)
- func (BeaconBlock) MarshalSSZTo(_ []byte) ([]byte, error)
- func (BeaconBlock) ParentRoot() [field_params.RootLength]byte
- func (BeaconBlock) ProposerIndex() primitives.ValidatorIndex
- func (BeaconBlock) Proto() (proto.Message, error)
- func (BeaconBlock) SetBlinded(_ bool)
- func (BeaconBlock) SetParentRoot(_ []byte)
- func (BeaconBlock) SetProposerIndex(_ primitives.ValidatorIndex)
- func (BeaconBlock) SetSlot(_ primitives.Slot)
- func (b *BeaconBlock) SetStateRoot(root []byte)
- func (BeaconBlock) SizeSSZ() int
- func (m BeaconBlock) Slot() primitives.Slot
- func (BeaconBlock) StateRoot() [field_params.RootLength]byte
- func (BeaconBlock) ToBlinded() (interfaces.ReadOnlyBeaconBlock, error)
- func (BeaconBlock) UnmarshalSSZ(_ []byte) error
- func (BeaconBlock) Version() int
- type BeaconBlockBody
- func (BeaconBlockBody) Attestations() []*eth.Attestation
- func (BeaconBlockBody) AttesterSlashings() []*eth.AttesterSlashing
- func (BeaconBlockBody) BLSToExecutionChanges() ([]*eth.SignedBLSToExecutionChange, error)
- func (BeaconBlockBody) Deposits() []*eth.Deposit
- func (BeaconBlockBody) Eth1Data() *eth.Eth1Data
- func (BeaconBlockBody) Execution() (interfaces.ExecutionData, error)
- func (BeaconBlockBody) Graffiti() [field_params.RootLength]byte
- func (BeaconBlockBody) HashTreeRoot() ([field_params.RootLength]byte, error)
- func (BeaconBlockBody) IsNil() bool
- func (BeaconBlockBody) ProposerSlashings() []*eth.ProposerSlashing
- func (BeaconBlockBody) Proto() (proto.Message, error)
- func (BeaconBlockBody) RandaoReveal() [field_params.BLSSignatureLength]byte
- func (b *BeaconBlockBody) SetAttestations([]*eth.Attestation)
- func (b *BeaconBlockBody) SetAttesterSlashings([]*eth.AttesterSlashing)
- func (b *BeaconBlockBody) SetBLSToExecutionChanges([]*eth.SignedBLSToExecutionChange) error
- func (b *BeaconBlockBody) SetDeposits([]*eth.Deposit)
- func (b *BeaconBlockBody) SetEth1Data(*eth.Eth1Data)
- func (b *BeaconBlockBody) SetExecution(interfaces.ExecutionData) error
- func (b *BeaconBlockBody) SetGraffiti([]byte)
- func (b *BeaconBlockBody) SetProposerSlashings([]*eth.ProposerSlashing)
- func (b *BeaconBlockBody) SetRandaoReveal([]byte)
- func (b *BeaconBlockBody) SetSyncAggregate(*eth.SyncAggregate) error
- func (b *BeaconBlockBody) SetVoluntaryExits([]*eth.SignedVoluntaryExit)
- func (BeaconBlockBody) SyncAggregate() (*eth.SyncAggregate, error)
- func (BeaconBlockBody) VoluntaryExits() []*eth.SignedVoluntaryExit
- type SignedBeaconBlock
- func (m SignedBeaconBlock) Block() interfaces.ReadOnlyBeaconBlock
- func (SignedBeaconBlock) Copy() (interfaces.ReadOnlySignedBeaconBlock, error)
- func (SignedBeaconBlock) Header() (*eth.SignedBeaconBlockHeader, error)
- func (SignedBeaconBlock) IsBlinded() bool
- func (m SignedBeaconBlock) IsNil() bool
- func (SignedBeaconBlock) MarshalSSZ() ([]byte, error)
- func (SignedBeaconBlock) MarshalSSZTo(_ []byte) ([]byte, error)
- func (SignedBeaconBlock) PbAltairBlock() (*eth.SignedBeaconBlockAltair, error)
- func (SignedBeaconBlock) PbBellatrixBlock() (*eth.SignedBeaconBlockBellatrix, error)
- func (SignedBeaconBlock) PbBlindedBellatrixBlock() (*eth.SignedBlindedBeaconBlockBellatrix, error)
- func (SignedBeaconBlock) PbBlindedCapellaBlock() (*eth.SignedBlindedBeaconBlockCapella, error)
- func (SignedBeaconBlock) PbCapellaBlock() (*eth.SignedBeaconBlockCapella, error)
- func (SignedBeaconBlock) PbGenericBlock() (*eth.GenericSignedBeaconBlock, error)
- func (SignedBeaconBlock) PbPhase0Block() (*eth.SignedBeaconBlock, error)
- func (SignedBeaconBlock) Proto() (proto.Message, error)
- func (SignedBeaconBlock) SetSignature([]byte)
- func (SignedBeaconBlock) Signature() [field_params.BLSSignatureLength]byte
- func (SignedBeaconBlock) SizeSSZ() int
- func (SignedBeaconBlock) ToBlinded() (interfaces.ReadOnlySignedBeaconBlock, error)
- func (SignedBeaconBlock) UnmarshalSSZ(_ []byte) error
- func (SignedBeaconBlock) Version() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeaconBlock ¶
type BeaconBlock struct { Htr [field_params.RootLength]byte HtrErr error BeaconBlockBody interfaces.ReadOnlyBeaconBlockBody BlockSlot primitives.Slot }
func (BeaconBlock) AsSignRequestObject ¶
func (BeaconBlock) AsSignRequestObject() (validatorpb.SignRequestObject, error)
func (BeaconBlock) Body ¶
func (m BeaconBlock) Body() interfaces.ReadOnlyBeaconBlockBody
func (BeaconBlock) Copy ¶ added in v3.2.1
func (BeaconBlock) Copy() (interfaces.ReadOnlyBeaconBlock, error)
func (BeaconBlock) HashTreeRoot ¶
func (m BeaconBlock) HashTreeRoot() ([field_params.RootLength]byte, error)
func (BeaconBlock) HashTreeRootWith ¶
func (BeaconBlock) HashTreeRootWith(_ *ssz.Hasher) error
func (BeaconBlock) IsBlinded ¶
func (BeaconBlock) IsBlinded() bool
func (BeaconBlock) IsNil ¶
func (BeaconBlock) IsNil() bool
func (BeaconBlock) MarshalSSZ ¶
func (BeaconBlock) MarshalSSZ() ([]byte, error)
func (BeaconBlock) MarshalSSZTo ¶
func (BeaconBlock) MarshalSSZTo(_ []byte) ([]byte, error)
func (BeaconBlock) ParentRoot ¶
func (BeaconBlock) ParentRoot() [field_params.RootLength]byte
func (BeaconBlock) ProposerIndex ¶
func (BeaconBlock) ProposerIndex() primitives.ValidatorIndex
func (BeaconBlock) SetBlinded ¶ added in v3.2.1
func (BeaconBlock) SetBlinded(_ bool)
func (BeaconBlock) SetParentRoot ¶ added in v3.2.1
func (BeaconBlock) SetParentRoot(_ []byte)
func (BeaconBlock) SetProposerIndex ¶ added in v3.2.1
func (BeaconBlock) SetProposerIndex(_ primitives.ValidatorIndex)
func (BeaconBlock) SetSlot ¶ added in v3.2.1
func (BeaconBlock) SetSlot(_ primitives.Slot)
func (*BeaconBlock) SetStateRoot ¶ added in v3.2.0
func (b *BeaconBlock) SetStateRoot(root []byte)
func (BeaconBlock) SizeSSZ ¶
func (BeaconBlock) SizeSSZ() int
func (BeaconBlock) Slot ¶
func (m BeaconBlock) Slot() primitives.Slot
func (BeaconBlock) StateRoot ¶
func (BeaconBlock) StateRoot() [field_params.RootLength]byte
func (BeaconBlock) ToBlinded ¶ added in v3.2.1
func (BeaconBlock) ToBlinded() (interfaces.ReadOnlyBeaconBlock, error)
func (BeaconBlock) UnmarshalSSZ ¶
func (BeaconBlock) UnmarshalSSZ(_ []byte) error
func (BeaconBlock) Version ¶
func (BeaconBlock) Version() int
type BeaconBlockBody ¶
type BeaconBlockBody struct{}
func (BeaconBlockBody) Attestations ¶
func (BeaconBlockBody) Attestations() []*eth.Attestation
func (BeaconBlockBody) AttesterSlashings ¶
func (BeaconBlockBody) AttesterSlashings() []*eth.AttesterSlashing
func (BeaconBlockBody) BLSToExecutionChanges ¶ added in v3.2.0
func (BeaconBlockBody) BLSToExecutionChanges() ([]*eth.SignedBLSToExecutionChange, error)
func (BeaconBlockBody) Deposits ¶
func (BeaconBlockBody) Deposits() []*eth.Deposit
func (BeaconBlockBody) Eth1Data ¶
func (BeaconBlockBody) Eth1Data() *eth.Eth1Data
func (BeaconBlockBody) Execution ¶
func (BeaconBlockBody) Execution() (interfaces.ExecutionData, error)
func (BeaconBlockBody) Graffiti ¶
func (BeaconBlockBody) Graffiti() [field_params.RootLength]byte
func (BeaconBlockBody) HashTreeRoot ¶
func (BeaconBlockBody) HashTreeRoot() ([field_params.RootLength]byte, error)
func (BeaconBlockBody) IsNil ¶
func (BeaconBlockBody) IsNil() bool
func (BeaconBlockBody) ProposerSlashings ¶
func (BeaconBlockBody) ProposerSlashings() []*eth.ProposerSlashing
func (BeaconBlockBody) RandaoReveal ¶
func (BeaconBlockBody) RandaoReveal() [field_params.BLSSignatureLength]byte
func (*BeaconBlockBody) SetAttestations ¶ added in v3.2.1
func (b *BeaconBlockBody) SetAttestations([]*eth.Attestation)
func (*BeaconBlockBody) SetAttesterSlashings ¶ added in v3.2.1
func (b *BeaconBlockBody) SetAttesterSlashings([]*eth.AttesterSlashing)
func (*BeaconBlockBody) SetBLSToExecutionChanges ¶ added in v3.2.1
func (b *BeaconBlockBody) SetBLSToExecutionChanges([]*eth.SignedBLSToExecutionChange) error
func (*BeaconBlockBody) SetDeposits ¶ added in v3.2.1
func (b *BeaconBlockBody) SetDeposits([]*eth.Deposit)
func (*BeaconBlockBody) SetEth1Data ¶ added in v3.2.1
func (b *BeaconBlockBody) SetEth1Data(*eth.Eth1Data)
func (*BeaconBlockBody) SetExecution ¶ added in v3.2.1
func (b *BeaconBlockBody) SetExecution(interfaces.ExecutionData) error
func (*BeaconBlockBody) SetGraffiti ¶ added in v3.2.1
func (b *BeaconBlockBody) SetGraffiti([]byte)
func (*BeaconBlockBody) SetProposerSlashings ¶ added in v3.2.1
func (b *BeaconBlockBody) SetProposerSlashings([]*eth.ProposerSlashing)
func (*BeaconBlockBody) SetRandaoReveal ¶ added in v3.2.1
func (b *BeaconBlockBody) SetRandaoReveal([]byte)
func (*BeaconBlockBody) SetSyncAggregate ¶ added in v3.2.1
func (b *BeaconBlockBody) SetSyncAggregate(*eth.SyncAggregate) error
func (*BeaconBlockBody) SetVoluntaryExits ¶ added in v3.2.1
func (b *BeaconBlockBody) SetVoluntaryExits([]*eth.SignedVoluntaryExit)
func (BeaconBlockBody) SyncAggregate ¶
func (BeaconBlockBody) SyncAggregate() (*eth.SyncAggregate, error)
func (BeaconBlockBody) VoluntaryExits ¶
func (BeaconBlockBody) VoluntaryExits() []*eth.SignedVoluntaryExit
type SignedBeaconBlock ¶
type SignedBeaconBlock struct {
BeaconBlock interfaces.ReadOnlyBeaconBlock
}
func (SignedBeaconBlock) Block ¶
func (m SignedBeaconBlock) Block() interfaces.ReadOnlyBeaconBlock
func (SignedBeaconBlock) Copy ¶
func (SignedBeaconBlock) Copy() (interfaces.ReadOnlySignedBeaconBlock, error)
func (SignedBeaconBlock) Header ¶
func (SignedBeaconBlock) Header() (*eth.SignedBeaconBlockHeader, error)
func (SignedBeaconBlock) IsBlinded ¶
func (SignedBeaconBlock) IsBlinded() bool
func (SignedBeaconBlock) IsNil ¶
func (m SignedBeaconBlock) IsNil() bool
func (SignedBeaconBlock) MarshalSSZ ¶
func (SignedBeaconBlock) MarshalSSZ() ([]byte, error)
func (SignedBeaconBlock) MarshalSSZTo ¶
func (SignedBeaconBlock) MarshalSSZTo(_ []byte) ([]byte, error)
func (SignedBeaconBlock) PbAltairBlock ¶
func (SignedBeaconBlock) PbAltairBlock() (*eth.SignedBeaconBlockAltair, error)
func (SignedBeaconBlock) PbBellatrixBlock ¶
func (SignedBeaconBlock) PbBellatrixBlock() (*eth.SignedBeaconBlockBellatrix, error)
func (SignedBeaconBlock) PbBlindedBellatrixBlock ¶
func (SignedBeaconBlock) PbBlindedBellatrixBlock() (*eth.SignedBlindedBeaconBlockBellatrix, error)
func (SignedBeaconBlock) PbBlindedCapellaBlock ¶ added in v3.2.0
func (SignedBeaconBlock) PbBlindedCapellaBlock() (*eth.SignedBlindedBeaconBlockCapella, error)
func (SignedBeaconBlock) PbCapellaBlock ¶ added in v3.2.0
func (SignedBeaconBlock) PbCapellaBlock() (*eth.SignedBeaconBlockCapella, error)
func (SignedBeaconBlock) PbGenericBlock ¶
func (SignedBeaconBlock) PbGenericBlock() (*eth.GenericSignedBeaconBlock, error)
func (SignedBeaconBlock) PbPhase0Block ¶
func (SignedBeaconBlock) PbPhase0Block() (*eth.SignedBeaconBlock, error)
func (SignedBeaconBlock) SetSignature ¶ added in v3.2.1
func (SignedBeaconBlock) SetSignature([]byte)
func (SignedBeaconBlock) Signature ¶
func (SignedBeaconBlock) Signature() [field_params.BLSSignatureLength]byte
func (SignedBeaconBlock) SizeSSZ ¶
func (SignedBeaconBlock) SizeSSZ() int
func (SignedBeaconBlock) ToBlinded ¶
func (SignedBeaconBlock) ToBlinded() (interfaces.ReadOnlySignedBeaconBlock, error)
func (SignedBeaconBlock) UnmarshalSSZ ¶
func (SignedBeaconBlock) UnmarshalSSZ(_ []byte) error
func (SignedBeaconBlock) Version ¶
func (SignedBeaconBlock) Version() int
Click to show internal directories.
Click to hide internal directories.