lighthouse/slasher/src
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
..
array.rs Optimise slasher DB layout and switch to MDBX (#2776) 2021-12-21 08:23:17 +00:00
attestation_queue.rs De-duplicate attestations in the slasher (#2767) 2021-11-08 00:01:09 +00:00
attester_record.rs Optimise slasher DB layout and switch to MDBX (#2776) 2021-12-21 08:23:17 +00:00
batch_stats.rs Add slasher broadcast (#2079) 2020-12-16 03:44:01 +00:00
block_queue.rs rust 1.53.0 updates (#2411) 2021-06-18 05:58:01 +00:00
config.rs Optimise slasher DB layout and switch to MDBX (#2776) 2021-12-21 08:23:17 +00:00
database.rs Optimise slasher DB layout and switch to MDBX (#2776) 2021-12-21 08:23:17 +00:00
error.rs Optimise slasher DB layout and switch to MDBX (#2776) 2021-12-21 08:23:17 +00:00
lib.rs Optimise slasher DB layout and switch to MDBX (#2776) 2021-12-21 08:23:17 +00:00
metrics.rs Optimise slasher DB layout and switch to MDBX (#2776) 2021-12-21 08:23:17 +00:00
migrate.rs Optimise slasher DB layout and switch to MDBX (#2776) 2021-12-21 08:23:17 +00:00
slasher.rs Optimise slasher DB layout and switch to MDBX (#2776) 2021-12-21 08:23:17 +00:00
test_utils.rs Add test_logger as feature to logging (#2586) 2021-10-06 00:46:07 +00:00
utils.rs Optimise slasher DB layout and switch to MDBX (#2776) 2021-12-21 08:23:17 +00:00