boolclose_enough=height>=earliest_height-early_blocks;// start using the rules that many blocks beforehand
boolclose_enough=height>=earliest_height-early_blocks&&earliest_height!=std::numeric_limits<uint64_t>::max();// start using the rules that many blocks beforehand