The normal checkpointing during the block chain download is reduced to every five minutes only, but forced every 200000 updated transactions.
Use transactions-updated as flush condition #1010
pull sipa wants to merge 1 commits into bitcoin:master from sipa:fastblocks2 changing 1 files +12 −2-
sipa commented at 7:01 PM on March 29, 2012: member
-
25c5eca893
Use transactions-updated as flush condition
The normal checkpointing during the block chain download is reduced to every five minutes only, but forced every 200000 updated transactions.
-
gavinandresen commented at 7:06 PM on March 29, 2012: contributor
ACK
- gavinandresen referenced this in commit f146061d24 on Mar 29, 2012
- gavinandresen merged this on Mar 29, 2012
- gavinandresen closed this on Mar 29, 2012
-
jgarzik commented at 8:38 PM on March 29, 2012: contributor
Not sure I see the value of the 200,000 hueristic.
-
jgarzik commented at 1:22 AM on March 30, 2012: contributor
Just the simple time-based heuristic would seem to suffice for both initial block download and thereafter. maintaining the 200k counter seems rather useless after I.B.D. completion.
But no big matter... just a nit, not a NAK :)
- coblee referenced this in commit 874fadfbea on Jul 17, 2012
- ghostlander referenced this in commit 0d89e5509e on Dec 10, 2014
- suprnurd referenced this in commit e61b783e0e on Dec 5, 2017
- ptschip referenced this in commit 13bcaafe2f on Apr 4, 2018
- Bushstar referenced this in commit 6c44426d68 on Oct 14, 2019
- lateminer referenced this in commit 6ff12f70de on Oct 30, 2019
- DrahtBot locked this on Sep 8, 2021