Documentation ¶
Index ¶
Constants ¶
View Source
const SystemChunkASTCacheSize = 64
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockComputer ¶
type BlockComputer interface {
ExecuteBlock(context.Context, *entity.ExecutableBlock, *delta.View) (*execution.ComputationResult, error)
}
A BlockComputer executes the transactions in a block.
func NewBlockComputer ¶
func NewBlockComputer( vm VirtualMachine, vmCtx fvm.Context, metrics module.ExecutionMetrics, tracer module.Tracer, logger zerolog.Logger, ) (BlockComputer, error)
NewBlockComputer creates a new block executor.
Click to show internal directories.
Click to hide internal directories.