lighthouse/beacon_node
Michael Sproul 22aedda1be
Add database schema versioning (#1688)
## Issue Addressed

Closes #673

## Proposed Changes

Store a schema version in the database so that future releases can check they're running against a compatible database version. This would also enable automatic migration on breaking database changes, but that's left as future work.

The database config is also stored in the database so that the `slots_per_restore_point` value can be checked for consistency, which closes #673
2020-10-01 11:12:36 +10:00
..
beacon_chain Add database schema versioning (#1688) 2020-10-01 11:12:36 +10:00
client Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
eth1 Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
eth2_libp2p Directory restructure (#1532) 2020-10-01 11:12:35 +10:00
genesis Lighthouse crate v0.2.0 bump (#1450) 2020-08-06 03:43:05 +00:00
http_api Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
http_metrics Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
network Add database schema versioning (#1688) 2020-10-01 11:12:36 +10:00
operation_pool Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
src Add database schema versioning (#1688) 2020-10-01 11:12:36 +10:00
store Add database schema versioning (#1688) 2020-10-01 11:12:36 +10:00
tests Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
timer Lighthouse crate v0.2.0 bump (#1450) 2020-08-06 03:43:05 +00:00
websocket_server Lighthouse crate v0.2.0 bump (#1450) 2020-08-06 03:43:05 +00:00
Cargo.toml Directory restructure (#1532) 2020-10-01 11:12:35 +10:00