pub struct EthashManager { /* private fields */ }
Expand description

Light/Full cache manager.

Implementations

Create a new new instance of ethash manager

Calculate the light client data block_number - Block number to check light - The light client handler header_hash - The header hash to pack into the mix nonce - The nonce to pack into the mix

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.