Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockComputer ¶
type BlockComputer interface {
ExecuteBlock(context.Context, *entity.ExecutableBlock, *delta.View, *fvm.Programs) (*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.