Browse Source

Merge pull request #1114 from sipa/lesssync

Reduce sync frequency for blkindex.dat
pull/1/head
Pieter Wuille 10 years ago
parent
commit
031eae7864
  1. 2
      src/db.cpp

2
src/db.cpp

@ -165,6 +165,8 @@ void CDB::Close() @@ -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;

Loading…
Cancel
Save