lighthouse/lighthouse
Michael Sproul 3b61ac9cbf Optimise slasher DB layout and switch to MDBX (#2776)
## Issue Addressed

Closes #2286
Closes #2538
Closes #2342

## Proposed Changes

Part II of major slasher optimisations after #2767

These changes will be backwards-incompatible due to the move to MDBX (and the schema change) 😱 

* [x] Shrink attester keys from 16 bytes to 7 bytes.
* [x] Shrink attester records from 64 bytes to 6 bytes.
* [x] Separate `DiskConfig` from regular `Config`.
* [x] Add configuration for the LRU cache size.
* [x] Add a "migration" that deletes any legacy LMDB database.
2021-12-21 08:23:17 +00:00
..
environment v1.1.6 Fork Choice changes (#2822) 2021-12-13 20:43:22 +00:00
src Restrict network limits based on merge fork epoch (#2839) 2021-12-02 14:32:31 +11:00
tests Optimise slasher DB layout and switch to MDBX (#2776) 2021-12-21 08:23:17 +00:00
Cargo.toml Add background file logging (#2762) 2021-11-30 03:25:32 +00:00