Skip to main content

Module kernel

Module kernel 

Source
Expand description

Top-level Kernel API.

Wraps σ, the chain instance hash, and a long-lived Vm into a single handle. Consumers (tests, the simple-chain end-to-end demo) call Kernel::from_genesis + Kernel::apply and observe state via Kernel::state / Kernel::state_root.

Structs§

Kernel
A v3 chain instance: σ + the chain instance hash + a long-lived Vm (so the image cache survives across events).