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

Snapshot and finalizer commits integration #836

Closed frolosofsky closed 5 years ago

frolosofsky commented 5 years ago

There's a snapshot based fast-sync mechanism that restores the UTXO database. It was described in UIP-11. Although it's implemented and tested, it doesn't work in a real-life because during fast-sync we lose all the finalization information.

There's also a way of a finalization state exchange that was described in UIP-21. Presently it's used in full-sync only to provide additional input for the fork-choice rule (UIP-12). However, it can be used for the fast-sync purpose as well.

Steps to make integration work: