Skip to main content

Module payload_processor

Module payload_processor 

Source
Expand description

Entrypoint for payload processing.

Modules§

bal
BAL (Block Access List, EIP-7928) related functionality.
multiproof
Multiproof task related functionality.
prewarm
Caching and prewarming related functionality.
receipt_root_task
Receipt root computation in a background task.
sparse_trie
Sparse Trie task related functionality.

Structs§

CacheTaskHandle
Access to the spawned PrewarmCacheTask.
ExecutionEnv
EVM context required to execute a block.
PayloadExecutionCache
Shared access to most recently used cache.
PayloadHandle
Handle to all the spawned tasks.
PayloadProcessor
Entrypoint for executing the payload.

Constants§

PARALLEL_SPARSE_TRIE_PARALLELISM_THRESHOLDS
Default parallelism thresholds to use with the ParallelSparseTrie.
SMALL_BLOCK_TX_THRESHOLD
Blocks with fewer transactions than this skip prewarming, since the fixed overhead of spawning prewarm workers exceeds the execution time saved.
SPARSE_TRIE_MAX_NODES_SHRINK_CAPACITY
Default node capacity for shrinking the sparse trie. This is used to limit the number of trie nodes in allocated sparse tries.
SPARSE_TRIE_MAX_VALUES_SHRINK_CAPACITY
Default value capacity for shrinking the sparse trie. This is used to limit the number of values in allocated sparse tries.