CBlockIndex::GetMedianTimePast

Returns the median timestamp of the previous nMedianTimeSpan blocks.

Synopsis

Declared in <chain.h>

int64_t
GetMedianTimePast() const;

Return Value

The median block time in seconds since the Unix epoch.