src/elysium/utilsbitcoin.cpp
/**
 * @return The timestamp of the latest block.
 */
@return The timestamp of the latest block.
@return The timestamp of the latest block .
uint32_t GetLatestBlockTime()
{
    LOCK(cs_main);
    if (chainActive.Tip())
        return chainActive.Tip()->GetBlockTime();
    else
        return Params().GenesisBlock().nTime;
}
uint32_t GetLatestBlockTime ( ) { LOCK ( cs_main ) ; if ( chainActive . Tip ( ) ) return chainActive . Tip ( ) -> GetBlockTime ( ) ; else return Params ( ) . GenesisBlock ( ) . nTime ; }
@return The timestamp of the latest block.
@return The timestamp of the latest block .