Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch interface { // AddBlockRequest adds a new block request (block fetch) to the batch AddBlockRequest(uint64) error // AddBlockResultsRequest adds a new block results request (block results fetch) to the batch AddBlockResultsRequest(uint64) error // Execute sends the batch off for processing by the node Execute(context.Context) ([]any, error) // Count returns the number of requests in the batch Count() int }
Batch defines the interface for the client batch
Click to show internal directories.
Click to hide internal directories.