QDateTime ClientModel::getLastBlockDate() const { if (pindexBest) return QDateTime::fromTime_t(pindexBest->GetBlockTime()); else if(!isTestNet()) return QDateTime::fromTime_t(1231006505); // Genesis block's time Время genesis(первоначального) блока else return QDateTime::fromTime_t(1296688602); // Genesis block's time (testnet) }
QDateTime ClientModel::getLastBlockDate() const { if (pindexBest) return QDateTime::fromTime_t(pindexBest->GetBlockTime()); else if(!isTestNet()) return QDateTime::fromTime_t(1497449710); // Genesis block's time else return QDateTime::fromTime_t(1497449710); // Genesis block's time (testnet) }
QDateTime ClientModel::getLastBlockDate() const { if (chainActive.Tip()) return QDateTime::fromTime_t(chainActive.Tip()->GetBlockTime()); else if(!isTestNet()) return QDateTime::fromTime_t(1231006505); // Genesis block's time else return QDateTime::fromTime_t(1296688602); // Genesis block's time (testnet) }