View definition


Defined in


CalcPastMedianTime calculates the median time of the previous few blocks prior to, and including, the end of the current best chain. It is primarily used to ensure new blocks have sane timestamps.

This function is safe for concurrent access.

CalcPastMedianTime is referenced in 2 repositories