dtr-org / unit-e

A digital currency for a new era of decentralized trust
https://unit-e.io
MIT License
45 stars 15 forks source link

Build active chain while reindexing blocks on disk #1097

Closed cmihai closed 5 years ago

cmihai commented 5 years ago

This is done to avoid storing FinalizationState objects for blocks which we already know to be finalized. The chain is extended every 5 epochs (250 blocks) to keep memory usage low and performance acceptable.

Fixes #1096.