nimbus-eth2/beacon_chain
Etan Kissling 499abd927f
persist LC data across restarts (#3823)
* persist LC data across restarts

With the Altair spec `LightClientUpdate` structure taking its final form
it is finally possible to persist LC data across restarts without having
to worry about data migration due to spec changes. A separate `lcdataV1`
database is created in the `caches` subdirectory to hold known LC data.
A full database with default settings (129 periods) uses <15 MB disk.

* extend LC data DB rationale

* wording

* add `isSupportedBySQLite` helper and explicit return

* remove redundant `return`
2022-06-30 13:04:39 +00:00
..
2022-06-29 18:53:59 +02:00
2022-06-29 18:53:59 +02:00
2022-06-29 18:53:59 +02:00
2022-06-29 18:53:59 +02:00
2021-03-26 07:52:01 +01:00
2022-06-21 10:29:16 +02:00
2021-03-26 07:52:01 +01:00
2022-04-08 16:22:49 +00:00
2022-06-21 10:29:16 +02:00
2022-04-08 16:22:49 +00:00
2022-06-29 01:08:56 +03:00
2022-06-21 10:29:16 +02:00