lighthouse/beacon_node/store/src
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
..
impls Write new blocks and states to the database atomically (#1285) 2020-07-01 12:45:57 +10:00
chunked_iter.rs Make key value storage abstractions more accurate (#1267) 2020-06-16 11:34:04 +10:00
chunked_vector.rs Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
config.rs Add database schema versioning (#1688) 2020-10-01 11:12:36 +10:00
errors.rs Add database schema versioning (#1688) 2020-10-01 11:12:36 +10:00
forwards_iter.rs Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
hot_cold_store.rs Add database schema versioning (#1688) 2020-10-01 11:12:36 +10:00
impls.rs Clean up database abstractions (#1200) 2020-06-01 08:13:49 +10:00
iter.rs Make key value storage abstractions more accurate (#1267) 2020-06-16 11:34:04 +10:00
leveldb_store.rs Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
lib.rs Add database schema versioning (#1688) 2020-10-01 11:12:36 +10:00
memory_store.rs Harden the freezing procedure against failures (#1323) 2020-07-03 09:47:31 +10:00
metadata.rs Add database schema versioning (#1688) 2020-10-01 11:12:36 +10:00
metrics.rs Write new blocks and states to the database atomically (#1285) 2020-07-01 12:45:57 +10:00
partial_beacon_state.rs Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00