Struct ethcore::ethereum::ethash::Ethash[][src]

pub struct Ethash { /* fields omitted */ }

Engine using Ethash proof-of-work consensus algorithm, suitable for Ethereum mainnet chains in the Olympic, Frontier and Homestead eras.

Methods

impl Ethash
[src]

Create a new instance of Ethash engine

impl Ethash
[src]

Convert an Ethash boundary to its original difficulty. Basically just f(x) = 2^256 / x.

Convert an Ethash difficulty to the target boundary. Basically just f(x) = 2^256 / x.

Auto Trait Implementations

impl Send for Ethash

impl Sync for Ethash