this seems like the highlight
“The timestamp has to be greater than the median timestamp of the previous 11 blocks.
The timestamp has to be less than the network-adjusted time plus two hours. (The “network-adjusted time” is simply the median of the timestamps returned by all nodes connected to you.)”