OmniLayer / omnicore

OmniCore staging tree
http://www.omnilayer.org/
MIT License
756 stars 230 forks source link

Add option to skip storing state of earlier blocks during sync #1285

Closed dexX7 closed 1 year ago

dexX7 commented 1 year ago

The new configuration option "-omniskipstoringstate" allows to set a block until which state is only stored to disk every 5000 blocks.

If using this option with a more recent block, this can speed up the initial synchronization/parsing of the Omni state. However, if there is an expected or unexpected shutdown before reaching this point, the most frequent state will be lost and has to be reparsed.