Allow a 20 second clock offset.

This commit is contained in:
JoelKatz
2012-08-03 07:02:18 -07:00
parent 127391b345
commit 78f415f386

View File

@@ -571,8 +571,8 @@ void Peer::recvHello(newcoin::TMHello& packet)
// Cancel verification timeout.
(void) mVerifyTimer.cancel();
uint32 minTime = theApp->getOPs().getNetworkTimeNC() - 4;
uint32 maxTime = minTime + 8;
uint32 minTime = theApp->getOPs().getNetworkTimeNC() - 20;
uint32 maxTime = minTime + 20;
if (packet.has_nettime() && ((packet.nettime() < minTime) || (packet.nettime() > maxTime)))
{