Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultChunkDataPackRequestWorker is the default number of concurrent workers processing chunk data pack requests on // execution nodes. DefaultChunkDataPackRequestWorker = 100 // DefaultChunkDataPackQueryTimeout is the default timeout value for querying a chunk data pack from storage. DefaultChunkDataPackQueryTimeout = 10 * time.Second // DefaultChunkDataPackDeliveryTimeout is the default timeout value for delivery of a chunk data pack to a verification // node. DefaultChunkDataPackDeliveryTimeout = 10 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
An Engine provides means of accessing data about execution state and broadcasts execution receipts to nodes in the network. Also generates and saves execution receipts
func New ¶
func New( logger zerolog.Logger, tracer module.Tracer, net network.Network, state protocol.State, execState state.ReadOnlyExecutionState, metrics module.ExecutionMetrics, checkAuthorizedAtBlock func(blockID flow.Identifier) (bool, error), chunkDataPackRequestQueue engine.MessageStore, chdpRequestWorkers uint, chunkDataPackQueryTimeout time.Duration, chunkDataPackDeliveryTimeout time.Duration, ) (*Engine, error)
func (*Engine) BroadcastExecutionReceipt ¶
type ProviderEngine ¶
type ProviderEngine interface { network.MessageProcessor BroadcastExecutionReceipt(context.Context, *flow.ExecutionReceipt) error }
Click to show internal directories.
Click to hide internal directories.