mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Merge pull request #1114 from sipa/lesssync
Reduce sync frequency for blkindex.dat
This commit is contained in:
commit
031eae7864
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue