aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-04-17 14:23:31 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2012-04-17 14:23:31 -0700
commit031eae78646ade3e24ed8bd75f8b1f33b2b372e4 (patch)
tree82ef74844eb22add22113f799b87957ef181cbbe /src
parent0a83c0fcef87e34e3e0f05580fa2c1ad9208c367 (diff)
parent8f2b50f178ece5863c79228bfcd3248e863b93b5 (diff)
Merge pull request #1114 from sipa/lesssync
Reduce sync frequency for blkindex.dat
Diffstat (limited to 'src')
-rw-r--r--src/db.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/db.cpp b/src/db.cpp
index c67cf2f8a5..c38070f347 100644
--- a/src/db.cpp
+++ b/src/db.cpp
@@ -165,6 +165,8 @@ void CDB::Close()
nMinutes = 1;
if (strFile == "addr.dat")
nMinutes = 2;
+ if (strFile == "blkindex.dat")
+ nMinutes = 2;
if (strFile == "blkindex.dat" && IsInitialBlockDownload())
nMinutes = 5;