eth1_utils

package
v0.0.0-...-ff78b6e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertBigIntFromRpc

func ConvertBigIntFromRpc(in *types2.H256) *big.Int

func ConvertBigIntToRpc

func ConvertBigIntToRpc(in *big.Int) *types2.H256

func ConvertBlockToRPC

func ConvertBlockToRPC(block *types.Block) *execution.Block

func ConvertBlocksToRPC

func ConvertBlocksToRPC(blocks []*types.Block) []*execution.Block

func ConvertRawBlockBodiesToRpc

func ConvertRawBlockBodiesToRpc(in []*types.RawBody, blockNumbers []uint64, blockHashes []libcommon.Hash) []*execution.BlockBody

func ConvertRawBlockBodyFromRpc

func ConvertRawBlockBodyFromRpc(in *execution.BlockBody) *types.RawBody

func ConvertRawBlockBodyToRpc

func ConvertRawBlockBodyToRpc(in *types.RawBody, blockNumber uint64, blockHash libcommon.Hash) *execution.BlockBody

func ConvertWithdrawalsFromRpc

func ConvertWithdrawalsFromRpc(in []*types2.Withdrawal) []*types.Withdrawal

func ConvertWithdrawalsToRpc

func ConvertWithdrawalsToRpc(in []*types.Withdrawal) []*types2.Withdrawal

func HeaderRpcToHeader

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

func HeaderToHeaderRPC

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

func HeadersToHeadersRPC

func HeadersToHeadersRPC(headers []*types.Header) []*execution.Header

Types

This section is empty.

Jump to

Keyboard shortcuts

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