Struct evm::BlockhashState [] [src]

pub struct BlockhashState(_);

A struct that manages the current blockhash state for one EVM.

Methods

impl BlockhashState
[src]

[src]

Require a blockhash to be existed. If not, requires a RequireError.

[src]

Commit a new blockhash. Blockhashes are immutable so the client should be able to use this for other concurrently running EVMs.

[src]

Get a blockhash by its number.

Trait Implementations

impl Debug for BlockhashState
[src]

[src]

Formats the value using the given formatter.

impl Clone for BlockhashState
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for BlockhashState
[src]

[src]

Returns the "default value" for a type. Read more