Repositories (1)
grimble
3 snippets stored for this repo
}
/// Return the pre-pow, unhashed
/// Let the cuck(at)oo miner/verifier handle the hashing
/// for consistency with how this call is performed everywhere
/// else
pub fn pre_pow(&self) -> Vec<u8> {
/// Types for a Cuck(at)oo proof of work and its encapsulation as a fully usable
/// proof of work within a block header.
/// Computes the difficulty from a hash. Divides the maximum target by the
/// provided hash and applies the Cuck(at)oo size adjustment factor (see
/// https://lists.launchpad.net/mimblewimble/msg00494.html).