eth1

package
v0.0.0-...-92d349b Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HeaderRpcToHeader

func HeaderRpcToHeader(header *execution.Header) (*types.Header, error)

func HeaderToHeaderRPC

func HeaderToHeaderRPC(header *types.Header) *execution.Header

Types

type Eth1Execution

type Eth1Execution struct {
	execution.UnimplementedExecutionServer
	// contains filtered or unexported fields
}

func NewEth1Execution

func NewEth1Execution(db kv.RwDB, blockReader services.FullBlockReader, executionPipeline *sync_stages.Sync) *Eth1Execution

func (*Eth1Execution) GetBody

func (*Eth1Execution) GetHeader

func (*Eth1Execution) GetHeaderHashNumber

func (e *Eth1Execution) GetHeaderHashNumber(ctx context.Context, req *types2.H256) (*execution.GetHeaderHashNumberResponse, error)

func (*Eth1Execution) InsertBodies

func (*Eth1Execution) InsertHeaders

func (*Eth1Execution) IsCanonicalHash

func (e *Eth1Execution) IsCanonicalHash(ctx context.Context, req *types2.H256) (*execution.IsCanonicalResponse, error)

func (*Eth1Execution) UpdateForkChoice

func (e *Eth1Execution) UpdateForkChoice(ctx context.Context, hash *types2.H256) (*execution.ForkChoiceReceipt, error)

Jump to

Keyboard shortcuts

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