# Functions
CalculateID calculates the root ID of the given execution data without storing any data.
ConvertTransactionResults converts a list of flow.TransactionResults into a list of flow.LightTransactionResults to be included in a ChunkExecutionData.
IsBlobNotFoundError returns whether an error is BlobNotFoundError.
IsBlobSizeLimitExceededError returns whether an error is BlobSizeLimitExceededError.
IsMalformedDataError returns whether an error is MalformedDataError.
No description provided by the author
No description provided by the author
NewDownloader creates a new Downloader instance.
NewExecutionDataStore creates a new Execution Data Store.
No description provided by the author
NewProcessedHeightRecorderManager creates a new ProcessedHeightRecorderManager with the given initial height.
NewSerializer returns a new Execution Data serializer using the provided encoder and compressor.
No description provided by the author
WithExecutionDataTracker configures the execution data tracker and the storage headers for the downloader.
WithMaxBlobSize configures the maximum blob size of the store.
WithSerializer configures the serializer for the downloader.
# Constants
1MiB.
ExecutionDataDBModeBadger uses badger db.
ExecutionDataDBModePebble uses pebble db.
# Variables
DefaultSerializer is the default implementation for an Execution Data serializer.
# Structs
BlobNotFoundError is returned when a blob could not be found.
BlobSizeLimitExceededError is returned when a blob exceeds the maximum size allowed.
BlockExecutionData represents the execution data of a block.
BlockExecutionDataEntity is a wrapper around BlockExecutionData that implements the flow.Entity interface to support caching with Herocache.
ChunkExecutionData represents the execution data of a chunk.
MalformedDataError is returned when malformed data is found at some level of the requested blob tree.
ProcessedHeightRecorderManager manages an execution data height recorder and tracks the highest processed block height.
# Interfaces
Downloader is used to download execution data blobs from the network via a blob service.
ExecutionDataGetter handles getting execution data from a blobstore.
ExecutionDataStore handles adding / getting execution data to / from a blobstore.
ProcessedHeightRecorder is an interface for tracking the highest execution data processed height when a block is processed and for providing this height.
Serializer is used to serialize / deserialize Execution Data and CID lists for the Execution Data Service.
# Type aliases
No description provided by the author
ExecutionDataDBMode controls which db type to use.
No description provided by the author
No description provided by the author