Documentation ¶
Index ¶
- func NewSignedBeaconBlockFromGeneric(gb *eth.GenericSignedBeaconBlock) (interfaces.SignedBeaconBlock, error)
- func SetBlockParentRoot(b interfaces.SignedBeaconBlock, pr [32]byte) (interfaces.SignedBeaconBlock, error)
- func SetBlockSlot(b interfaces.SignedBeaconBlock, s primitives.Slot) (interfaces.SignedBeaconBlock, error)
- func SetBlockStateRoot(b interfaces.SignedBeaconBlock, sr [32]byte) (interfaces.SignedBeaconBlock, error)
- func SetProposerIndex(b interfaces.SignedBeaconBlock, idx primitives.ValidatorIndex) (interfaces.SignedBeaconBlock, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSignedBeaconBlockFromGeneric ¶
func NewSignedBeaconBlockFromGeneric(gb *eth.GenericSignedBeaconBlock) (interfaces.SignedBeaconBlock, error)
NewSignedBeaconBlockFromGeneric creates a signed beacon block from a protobuf generic signed beacon block.
func SetBlockParentRoot ¶
func SetBlockParentRoot(b interfaces.SignedBeaconBlock, pr [32]byte) (interfaces.SignedBeaconBlock, error)
SetBlockParentRoot modifies the block's parent root.
func SetBlockSlot ¶
func SetBlockSlot(b interfaces.SignedBeaconBlock, s primitives.Slot) (interfaces.SignedBeaconBlock, error)
SetBlockSlot modifies the block's slot.
func SetBlockStateRoot ¶
func SetBlockStateRoot(b interfaces.SignedBeaconBlock, sr [32]byte) (interfaces.SignedBeaconBlock, error)
SetBlockStateRoot modifies the block's state root.
func SetProposerIndex ¶
func SetProposerIndex(b interfaces.SignedBeaconBlock, idx primitives.ValidatorIndex) (interfaces.SignedBeaconBlock, error)
SetProposerIndex modifies the block's proposer index.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.