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