git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Reduce sync frequency for blkindex.dat
[novacoin.git]
/
src
/
db.cpp
diff --git
a/src/db.cpp
b/src/db.cpp
index
2d13691
..
0652e4a
100644
(file)
--- a/
src/db.cpp
+++ b/
src/db.cpp
@@
-162,6
+162,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;