testing

package
v5.1.2-mekong Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSignedBeaconBlockFromGeneric

func NewSignedBeaconBlockFromGeneric(gb *eth.GenericSignedBeaconBlock) (interfaces.ReadOnlySignedBeaconBlock, 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

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

SetProposerIndex modifies the block's proposer index.

Types

This section is empty.

Jump to

Keyboard shortcuts

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