Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Currently, consensus::valid_header_version(height, version) returns false for all height >= YEAR_HEIGHT.
This PR also changes global::create_pow_context to return new_cuckaroom_ctx(edge_bits, proof_size) when consensus::valid_header_version(height, version) holds for version 3, which means that Cuckaroom29  is the only valid secondary PoW after the hard fork.
Successfully tested on a mainnet fast sync.