[][src]Function grin_core::global::create_pow_context

pub fn create_pow_context<T>(
    height: u64,
    edge_bits: u8,
    proof_size: usize,
    max_sols: u32
) -> Result<Box<dyn PoWContext<T>>, Error> where
    T: EdgeType + 'static, 

Return either a cuckoo context or a cuckatoo context Single change point