Function grin_core::pow::cuckarood::new_cuckarood_ctx
source · pub fn new_cuckarood_ctx(
edge_bits: u8,
proof_size: usize
) -> Result<Box<dyn PoWContext>, Error>
Expand description
Instantiate a new CuckaroodContext 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.