frontend

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EngineBackend

type EngineBackend interface {
	apis.EngineAPI
}

type EngineFrontend

type EngineFrontend struct {
	// contains filtered or unexported fields
}

func NewEngineFrontend

func NewEngineFrontend(b EngineBackend) *EngineFrontend

func (*EngineFrontend) ForkchoiceUpdatedV1

func (e *EngineFrontend) ForkchoiceUpdatedV1(ctx context.Context, state *eth.ForkchoiceState, attr *eth.PayloadAttributes) (*eth.ForkchoiceUpdatedResult, error)

func (*EngineFrontend) ForkchoiceUpdatedV2

func (e *EngineFrontend) ForkchoiceUpdatedV2(ctx context.Context, state *eth.ForkchoiceState, attr *eth.PayloadAttributes) (*eth.ForkchoiceUpdatedResult, error)

func (*EngineFrontend) ForkchoiceUpdatedV3

func (e *EngineFrontend) ForkchoiceUpdatedV3(ctx context.Context, state *eth.ForkchoiceState, attr *eth.PayloadAttributes) (*eth.ForkchoiceUpdatedResult, error)

func (*EngineFrontend) GetPayloadV1

func (e *EngineFrontend) GetPayloadV1(ctx context.Context, payloadID eth.PayloadID) (*eth.ExecutionPayloadEnvelope, error)

func (*EngineFrontend) GetPayloadV2

func (e *EngineFrontend) GetPayloadV2(ctx context.Context, payloadID eth.PayloadID) (*eth.ExecutionPayloadEnvelope, error)

func (*EngineFrontend) GetPayloadV3

func (e *EngineFrontend) GetPayloadV3(ctx context.Context, payloadID eth.PayloadID) (*eth.ExecutionPayloadEnvelope, error)

func (*EngineFrontend) GetPayloadV4

func (e *EngineFrontend) GetPayloadV4(ctx context.Context, payloadID eth.PayloadID) (*eth.ExecutionPayloadEnvelope, error)

func (*EngineFrontend) NewPayloadV1

func (e *EngineFrontend) NewPayloadV1(ctx context.Context, payload *eth.ExecutionPayload) (*eth.PayloadStatusV1, error)

func (*EngineFrontend) NewPayloadV2

func (e *EngineFrontend) NewPayloadV2(ctx context.Context, payload *eth.ExecutionPayload) (*eth.PayloadStatusV1, error)

func (*EngineFrontend) NewPayloadV3

func (e *EngineFrontend) NewPayloadV3(ctx context.Context, payload *eth.ExecutionPayload, versionedHashes []common.Hash, beaconRoot *common.Hash) (*eth.PayloadStatusV1, error)

func (*EngineFrontend) NewPayloadV4

func (e *EngineFrontend) NewPayloadV4(ctx context.Context, payload *eth.ExecutionPayload, versionedHashes []common.Hash, beaconRoot *common.Hash, executionRequests []hexutil.Bytes) (*eth.PayloadStatusV1, error)

type EthBackend

type EthBackend interface {
	apis.EthAPI
}

type EthFrontend

type EthFrontend struct {
	// contains filtered or unexported fields
}

func NewEthFrontend

func NewEthFrontend(b EthBackend) *EthFrontend

func (*EthFrontend) ChainId

func (e *EthFrontend) ChainId(ctx context.Context) (hexutil.Big, error)

func (*EthFrontend) GetBlockByHash

func (e *EthFrontend) GetBlockByHash(ctx context.Context, hash common.Hash, fullTx bool) (json.RawMessage, error)

func (*EthFrontend) GetBlockByNumber

func (e *EthFrontend) GetBlockByNumber(ctx context.Context, number rpc.BlockNumber, fullTx bool) (json.RawMessage, error)

func (*EthFrontend) GetBlockReceipts

func (e *EthFrontend) GetBlockReceipts(ctx context.Context, blockNrOrHash rpc.BlockNumberOrHash) ([]*types.Receipt, error)

type SyncBackend

type SyncBackend interface {
	apis.SyncAPI
}

type SyncFrontend

type SyncFrontend struct {
	// contains filtered or unexported fields
}

func NewSyncFrontend

func NewSyncFrontend(b SyncBackend) *SyncFrontend

func (*SyncFrontend) DeleteSession

func (s *SyncFrontend) DeleteSession(ctx context.Context) error

func (*SyncFrontend) GetSession

func (s *SyncFrontend) GetSession(ctx context.Context) (*eth.SyncTesterSession, error)

func (*SyncFrontend) ListSessions

func (s *SyncFrontend) ListSessions(ctx context.Context) ([]string, error)

func (*SyncFrontend) ResetSession added in v1.13.7

func (s *SyncFrontend) ResetSession(ctx context.Context) error

Jump to

Keyboard shortcuts

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