mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-02-05 11:24:19 +00:00
Merge pull request #1114 from sipa/lesssync
Reduce sync frequency for blkindex.dat
This commit is contained in:
commit
031eae7864
@ -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…
x
Reference in New Issue
Block a user