Versions in this module Expand all Collapse all v1 v1.13.13 Aug 9, 2024 Changes in this version + func Register(stack *node.Node, backend *eth.Ethereum) error + func RegisterSimulatedBeaconAPIs(stack *node.Node, sim *SimulatedBeacon) + type ConsensusAPI struct + func NewConsensusAPI(eth *eth.Ethereum) *ConsensusAPI + func (api *ConsensusAPI) ExchangeCapabilities([]string) []string + func (api *ConsensusAPI) ExchangeTransitionConfigurationV1(config engine.TransitionConfigurationV1) (*engine.TransitionConfigurationV1, error) + func (api *ConsensusAPI) ForkchoiceUpdatedV1(update engine.ForkchoiceStateV1, payloadAttributes *engine.PayloadAttributes) (engine.ForkChoiceResponse, error) + func (api *ConsensusAPI) ForkchoiceUpdatedV2(update engine.ForkchoiceStateV1, params *engine.PayloadAttributes) (engine.ForkChoiceResponse, error) + func (api *ConsensusAPI) ForkchoiceUpdatedV3(update engine.ForkchoiceStateV1, params *engine.PayloadAttributes) (engine.ForkChoiceResponse, error) + func (api *ConsensusAPI) GetClientVersionV1(info engine.ClientVersionV1) []engine.ClientVersionV1 + func (api *ConsensusAPI) GetPayloadBodiesByHashV1(hashes []common.Hash) []*engine.ExecutionPayloadBodyV1 + func (api *ConsensusAPI) GetPayloadBodiesByRangeV1(start, count hexutil.Uint64) ([]*engine.ExecutionPayloadBodyV1, error) + func (api *ConsensusAPI) GetPayloadV1(payloadID engine.PayloadID) (*engine.ExecutableData, error) + func (api *ConsensusAPI) GetPayloadV2(payloadID engine.PayloadID) (*engine.ExecutionPayloadEnvelope, error) + func (api *ConsensusAPI) GetPayloadV3(payloadID engine.PayloadID) (*engine.ExecutionPayloadEnvelope, error) + func (api *ConsensusAPI) NewPayloadV1(params engine.ExecutableData) (engine.PayloadStatusV1, error) + func (api *ConsensusAPI) NewPayloadV2(params engine.ExecutableData) (engine.PayloadStatusV1, error) + func (api *ConsensusAPI) NewPayloadV3(params engine.ExecutableData, versionedHashes []common.Hash, ...) (engine.PayloadStatusV1, error) + type FullSyncTester struct + func RegisterFullSyncTester(stack *node.Node, backend *eth.Ethereum, target common.Hash) (*FullSyncTester, error) + func (tester *FullSyncTester) Start() error + func (tester *FullSyncTester) Stop() error + type SimulatedBeacon struct + func NewSimulatedBeacon(period uint64, eth *eth.Ethereum) (*SimulatedBeacon, error) + func (c *SimulatedBeacon) AdjustTime(adjustment time.Duration) error + func (c *SimulatedBeacon) Commit() common.Hash + func (c *SimulatedBeacon) Fork(parentHash common.Hash) error + func (c *SimulatedBeacon) Rollback() + func (c *SimulatedBeacon) Start() error + func (c *SimulatedBeacon) Stop() error