diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-04-17 14:23:31 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-04-17 14:23:31 -0700 |
commit | 031eae78646ade3e24ed8bd75f8b1f33b2b372e4 (patch) | |
tree | 82ef74844eb22add22113f799b87957ef181cbbe /src | |
parent | 0a83c0fcef87e34e3e0f05580fa2c1ad9208c367 (diff) | |
parent | 8f2b50f178ece5863c79228bfcd3248e863b93b5 (diff) |
Merge pull request #1114 from sipa/lesssync
Reduce sync frequency for blkindex.dat
Diffstat (limited to 'src')
-rw-r--r-- | src/db.cpp | 2 |
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; |