testutil

package
v0.0.16-eta Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateExtraDataWithBLSSig

func GenerateExtraDataWithBLSSig(header *eth1Types.Header) (*types.PanExtraDataWithBLSSig, error)

GenerateExtraDataWithBLSSig generates pandora extra data with header hash signature

func NewEth1Header added in v0.7.0

func NewEth1Header(slot uint64) *eth1Types.Header

NewEth1Header

func NewMinimalConsensusInfo

func NewMinimalConsensusInfo(epoch uint64) *types.MinimalEpochConsensusInfo

func NewPandoraHeaderHash

func NewPandoraHeaderHash(slot uint64, status types.Status) *types.HeaderHash

NewPandoraHeaderHash

func SealHash added in v0.7.0

func SealHash(header *eth1Types.Header) (hash common.Hash)

SealHash returns the hash of a block prior to it being sealed.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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