Documentation ¶
Index ¶
- func ConvertBigIntFromRpc(in *types2.H256) *big.Int
- func ConvertBigIntToRpc(in *big.Int) *types2.H256
- func ConvertBlockToRPC(block *types.Block) *execution.Block
- func ConvertBlocksToRPC(blocks []*types.Block) []*execution.Block
- func ConvertRawBlockBodiesToRpc(in []*types.RawBody, blockNumbers []uint64, blockHashes []libcommon.Hash) []*execution.BlockBody
- func ConvertRawBlockBodyFromRpc(in *execution.BlockBody) *types.RawBody
- func ConvertRawBlockBodyToRpc(in *types.RawBody, blockNumber uint64, blockHash libcommon.Hash) *execution.BlockBody
- func ConvertWithdrawalsFromRpc(in []*types2.Withdrawal) []*types.Withdrawal
- func ConvertWithdrawalsToRpc(in []*types.Withdrawal) []*types2.Withdrawal
- func HeaderRpcToHeader(header *execution.Header) (*types.Header, error)
- func HeaderToHeaderRPC(header *types.Header) *execution.Header
- func HeadersToHeadersRPC(headers []*types.Header) []*execution.Header
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertWithdrawalsFromRpc ¶
func ConvertWithdrawalsFromRpc(in []*types2.Withdrawal) []*types.Withdrawal
func ConvertWithdrawalsToRpc ¶
func ConvertWithdrawalsToRpc(in []*types.Withdrawal) []*types2.Withdrawal
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.