Documentation
¶
Index ¶
- type Supernode
- func (s *Supernode) BeaconClient() *sources.L1BeaconClient
- func (s *Supernode) L1Client() *sources.L1Client
- func (s *Supernode) PauseInteropActivity(ts uint64)
- func (s *Supernode) RPCAddr() (addr string, ok bool)
- func (s *Supernode) ResumeInteropActivity()
- func (s *Supernode) Start(ctx context.Context) error
- func (s *Supernode) Stop(ctx context.Context) error
- func (s *Supernode) Stopped() bool
- func (s *Supernode) WaitRPCAddr(ctx context.Context) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Supernode ¶
type Supernode struct {
// contains filtered or unexported fields
}
func (*Supernode) BeaconClient ¶
func (s *Supernode) BeaconClient() *sources.L1BeaconClient
BeaconClient returns the L1 Beacon client instance (may be nil if not configured)
func (*Supernode) PauseInteropActivity ¶ added in v1.16.7
PauseInteropActivity pauses the interop activity at the given timestamp. When the interop activity attempts to process this timestamp, it returns early. This function is for integration test control only.
func (*Supernode) RPCAddr ¶
RPCAddr returns the bound RPC address (host:port) if the server is listening. ok is false if the listener has not been created yet.
func (*Supernode) ResumeInteropActivity ¶ added in v1.16.7
func (s *Supernode) ResumeInteropActivity()
ResumeInteropActivity clears any pause on the interop activity, allowing normal processing. This function is for integration test control only.
Click to show internal directories.
Click to hide internal directories.