[−][src]Function grin_core::pow::cuckatoo::new_cuckatoo_ctx
pub fn new_cuckatoo_ctx<T>(
edge_bits: u8,
proof_size: usize,
max_sols: u32
) -> Result<Box<dyn PoWContext<T>>, Error> where
T: EdgeType + 'static,
Instantiate a new CuckatooContext 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.