From 01cd2fdaf3ac6071304ceb80fb7436ac02b1059e Mon Sep 17 00:00:00 2001 From: s_nakamoto Date: Thu, 12 Aug 2010 21:13:43 +0000 Subject: fix -datadir=./subdir relative path, autostart off by default except on windows, fix occasional "vector iterator not dereferencable" assertion with msvc, fix readlink compile warning on linux build, use sys/param.h and BSD define instead of __BSD__, -paytxfee switch git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@130 1a98c847-1fd6-4fd8-948a-caf3550aa51b --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 441f49aca1..4b7146577c 100644 --- a/main.cpp +++ b/main.cpp @@ -2224,7 +2224,7 @@ bool ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv) // This includes all nodes that are currently online, // since they rebroadcast an addr every 24 hours pfrom->vAddrToSend.clear(); - int64 nSince = GetAdjustedTime() - 24 * 60 * 60; // in the last 24 hours + int64 nSince = GetAdjustedTime() - 12 * 60 * 60; // in the last 12 hours CRITICAL_BLOCK(cs_mapAddresses) { unsigned int nSize = mapAddresses.size(); -- cgit v1.2.3