Documentation ¶
Index ¶
- func HeaderRpcToHeader(header *execution.Header) (*types.Header, error)
- func HeaderToHeaderRPC(header *types.Header) *execution.Header
- type Eth1Execution
- func (e *Eth1Execution) GetBody(ctx context.Context, req *execution.GetSegmentRequest) (*execution.GetBodyResponse, error)
- func (e *Eth1Execution) GetHeader(ctx context.Context, req *execution.GetSegmentRequest) (*execution.GetHeaderResponse, error)
- func (e *Eth1Execution) GetHeaderHashNumber(ctx context.Context, req *types2.H256) (*execution.GetHeaderHashNumberResponse, error)
- func (e *Eth1Execution) InsertBodies(ctx context.Context, req *execution.InsertBodiesRequest) (*execution.EmptyMessage, error)
- func (e *Eth1Execution) InsertHeaders(ctx context.Context, req *execution.InsertHeadersRequest) (*execution.EmptyMessage, error)
- func (e *Eth1Execution) IsCanonicalHash(ctx context.Context, req *types2.H256) (*execution.IsCanonicalResponse, error)
- func (e *Eth1Execution) UpdateForkChoice(ctx context.Context, hash *types2.H256) (*execution.ForkChoiceReceipt, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Eth1Execution ¶
type Eth1Execution struct { execution.UnimplementedExecutionServer // contains filtered or unexported fields }
func NewEth1Execution ¶
func NewEth1Execution(db kv.RwDB, blockReader services.FullBlockReader, executionPipeline *sync_stages.Sync) *Eth1Execution
func (*Eth1Execution) GetBody ¶
func (e *Eth1Execution) GetBody(ctx context.Context, req *execution.GetSegmentRequest) (*execution.GetBodyResponse, error)
func (*Eth1Execution) GetHeader ¶
func (e *Eth1Execution) GetHeader(ctx context.Context, req *execution.GetSegmentRequest) (*execution.GetHeaderResponse, error)
func (*Eth1Execution) GetHeaderHashNumber ¶
func (e *Eth1Execution) GetHeaderHashNumber(ctx context.Context, req *types2.H256) (*execution.GetHeaderHashNumberResponse, error)
func (*Eth1Execution) InsertBodies ¶
func (e *Eth1Execution) InsertBodies(ctx context.Context, req *execution.InsertBodiesRequest) (*execution.EmptyMessage, error)
func (*Eth1Execution) InsertHeaders ¶
func (e *Eth1Execution) InsertHeaders(ctx context.Context, req *execution.InsertHeadersRequest) (*execution.EmptyMessage, error)
func (*Eth1Execution) IsCanonicalHash ¶
func (e *Eth1Execution) IsCanonicalHash(ctx context.Context, req *types2.H256) (*execution.IsCanonicalResponse, error)
func (*Eth1Execution) UpdateForkChoice ¶
func (e *Eth1Execution) UpdateForkChoice(ctx context.Context, hash *types2.H256) (*execution.ForkChoiceReceipt, error)
Click to show internal directories.
Click to hide internal directories.