median Time Past
Median of headerTimes the way the node's GetMedianTimePast() computes it: sort a copy, take the middle element (size/2). Callers pass the times of the synced block and up to MTP_BLOCK_SPAN-1 of its ancestors, in any order.