git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
0a83c0f
)
Merge pull request #1114 from sipa/lesssync
author
Pieter Wuille
<pieter.wuille@gmail.com>
Tue, 17 Apr 2012 21:23:31 +0000 (14:23 -0700)
committer
Pieter Wuille
<pieter.wuille@gmail.com>
Tue, 17 Apr 2012 21:23:31 +0000 (14:23 -0700)
Reduce sync frequency for blkindex.dat
src/db.cpp
patch
|
blob
|
history
diff --git
a/src/db.cpp
b/src/db.cpp
index
c67cf2f
..
c38070f
100644
(file)
--- 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;