be more tolerant to detect outdated blockchain.

the main problem with running libtorrent with an outdated blockchain is to
refuse posts that are signed by new users. given this is only a temporary
state (and most of users are older than a day anyway) it is better to
be more tolerant instead of freezing up everything.
This commit is contained in:
Miguel Freitas 2015-01-02 14:59:58 -02:00
parent 4e927c1c4e
commit 1f748f78c3

View File

@ -425,7 +425,7 @@ void ThreadWaitExtIP()
bool isBlockChainUptodate() {
if( !pindexBest )
return false;
return (pindexBest->GetBlockTime() > GetTime() - 2 * 60 * 60);
return (pindexBest->GetBlockTime() > GetTime() - 24 * 60 * 60);
}
bool yes(libtorrent::torrent_status const&)