[][src]Function grin_core::pow::cuckaroom::new_cuckaroom_ctx

pub fn new_cuckaroom_ctx(
    edge_bits: u8,
    proof_size: usize
) -> Result<Box<dyn PoWContext>, Error>

Instantiate a new CuckaroomContext as a PowContext. Note that this can't be moved in the PoWContext trait as this particular trait needs to be convertible to an object trait.