aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorSatoshi Nakamoto <[email protected]>2010-08-13 02:23:46 +0000
committerGavin Andresen <[email protected]>2010-08-13 02:23:46 +0000
commit7f71fd13ae5c61bf844591d93e74803e85601931 (patch)
treea9cb89da3ab6261fc5fbf2cdeee70edce373c2e0 /main.cpp
parentfix build, thanks jgarzik (diff)
downloaddiscoin-7f71fd13ae5c61bf844591d93e74803e85601931.tar.xz
discoin-7f71fd13ae5c61bf844591d93e74803e85601931.zip
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
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 76ce85732..ec03964b5 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();