Documentation
¶
Index ¶
- type FnTracer
- type Opnode
- func (o *Opnode) InteropRPC() (endpoint string, jwtSecret eth.Bytes32)
- func (o *Opnode) InteropRPCPort() (int, error)
- func (o *Opnode) P2P() p2p.Node
- func (o *Opnode) RuntimeConfig() runcfg.ReadonlyRuntimeConfig
- func (o *Opnode) Stop(ctx context.Context) error
- func (o *Opnode) Stopped() bool
- func (o *Opnode) UserRPC() endpoint.RPC
- func (o *Opnode) UserRPCPort() (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FnTracer ¶
type FnTracer struct {
OnNewL1HeadFn func(ctx context.Context, sig eth.L1BlockRef)
OnUnsafeL2PayloadFn func(ctx context.Context, from peer.ID, payload *eth.ExecutionPayloadEnvelope)
OnPublishL2PayloadFn func(ctx context.Context, payload *eth.ExecutionPayloadEnvelope)
}
func (*FnTracer) OnNewL1Head ¶
func (n *FnTracer) OnNewL1Head(ctx context.Context, sig eth.L1BlockRef)
func (*FnTracer) OnPublishL2Payload ¶
func (n *FnTracer) OnPublishL2Payload(ctx context.Context, payload *eth.ExecutionPayloadEnvelope)
func (*FnTracer) OnUnsafeL2Payload ¶
type Opnode ¶
type Opnode struct {
// contains filtered or unexported fields
}
func (*Opnode) InteropRPCPort ¶
func (*Opnode) RuntimeConfig ¶
func (o *Opnode) RuntimeConfig() runcfg.ReadonlyRuntimeConfig
func (*Opnode) UserRPCPort ¶
Click to show internal directories.
Click to hide internal directories.