Documentation
¶
Index ¶
- type EngineBackend
- type EngineFrontend
- func (e *EngineFrontend) ForkchoiceUpdatedV1(ctx context.Context, state *eth.ForkchoiceState, attr *eth.PayloadAttributes) (*eth.ForkchoiceUpdatedResult, error)
- func (e *EngineFrontend) ForkchoiceUpdatedV2(ctx context.Context, state *eth.ForkchoiceState, attr *eth.PayloadAttributes) (*eth.ForkchoiceUpdatedResult, error)
- func (e *EngineFrontend) ForkchoiceUpdatedV3(ctx context.Context, state *eth.ForkchoiceState, attr *eth.PayloadAttributes) (*eth.ForkchoiceUpdatedResult, error)
- func (e *EngineFrontend) GetPayloadV1(ctx context.Context, payloadID eth.PayloadID) (*eth.ExecutionPayloadEnvelope, error)
- func (e *EngineFrontend) GetPayloadV2(ctx context.Context, payloadID eth.PayloadID) (*eth.ExecutionPayloadEnvelope, error)
- func (e *EngineFrontend) GetPayloadV3(ctx context.Context, payloadID eth.PayloadID) (*eth.ExecutionPayloadEnvelope, error)
- func (e *EngineFrontend) GetPayloadV4(ctx context.Context, payloadID eth.PayloadID) (*eth.ExecutionPayloadEnvelope, error)
- func (e *EngineFrontend) NewPayloadV1(ctx context.Context, payload *eth.ExecutionPayload) (*eth.PayloadStatusV1, error)
- func (e *EngineFrontend) NewPayloadV2(ctx context.Context, payload *eth.ExecutionPayload) (*eth.PayloadStatusV1, error)
- func (e *EngineFrontend) NewPayloadV3(ctx context.Context, payload *eth.ExecutionPayload, ...) (*eth.PayloadStatusV1, error)
- func (e *EngineFrontend) NewPayloadV4(ctx context.Context, payload *eth.ExecutionPayload, ...) (*eth.PayloadStatusV1, error)
- type EthBackend
- type EthFrontend
- func (e *EthFrontend) ChainId(ctx context.Context) (hexutil.Big, error)
- func (e *EthFrontend) GetBlockByHash(ctx context.Context, hash common.Hash, fullTx bool) (json.RawMessage, error)
- func (e *EthFrontend) GetBlockByNumber(ctx context.Context, number rpc.BlockNumber, fullTx bool) (json.RawMessage, error)
- func (e *EthFrontend) GetBlockReceipts(ctx context.Context, blockNrOrHash rpc.BlockNumberOrHash) ([]*types.Receipt, error)
- type SyncBackend
- type SyncFrontend
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EngineBackend ¶
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 EthFrontend ¶
type EthFrontend struct {
// contains filtered or unexported fields
}
func NewEthFrontend ¶
func NewEthFrontend(b EthBackend) *EthFrontend
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 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
Click to show internal directories.
Click to hide internal directories.