Function ethash::mine [] [src]

pub fn mine<T: Encodable>(
    header: &T,
    full_size: usize,
    dataset: &[u8],
    nonce_start: H64,
    difficulty: U256
) -> (H64, H256)

Mine a nonce given the header, dataset, and the target. Target is derived from the difficulty.