Struct sputnikvm::Runtime [] [src]

pub struct Runtime {
    pub blockhash_state: BlockhashState,
    pub block: HeaderParams,
    pub context_history_hooks: Vec<Box<Fn(&Context)>>,
}

A VM runtime. Only available in eval.

Fields

The current blockhash commitment states.

Block header.

Hooks for context history.

Methods

impl Runtime
[src]

[src]

Create a new VM runtime.

[src]

Create the runtime with the given blockhash state.