Module grin_core::pow::cuckaroom [−][src]
Implementation of Cuckaroom Cycle, based on Cuckoo Cycle designed by John Tromp. Ported to Rust from https://github.com/tromp/cuckoo.
Cuckaroom is a variation of Cuckaroo that’s tweaked at the second HardFork to maintain ASIC-Resistance. It uses a tweaked edge block generation where states are xored with all later states, reverts to standard siphash, and most importantly, identifies cycles in a mono-partite graph, from which it derives the letter ‘m’.
Structs
CuckaroomContext | Cuckaroom cycle context. Only includes the verifier for now. |
Functions
new_cuckaroom_ctx | 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. |