If the tip is older than this, the node is considered to be in initial block download.
Declared in <kernel/chainstatemanager_opts.h>
<kernel/chainstatemanager_opts.h>
std::chrono::seconds max_tip_age = {DEFAULT_MAX_TIP_AGE};