lighthouse/eth2/types/examples
Michael Sproul e0b9fa599f
Add LRU cache to database (#837)
* Add LRU caches to store

* Improvements to LRU caches

* Take state by value in `Store::put_state`

* Store blocks by value, configurable cache sizes

* Use a StateBatch to efficiently store skip states

* Fix store tests

* Add CloneConfig test, remove unused metrics

* Use Mutexes instead of RwLocks for LRU caches
2020-02-10 11:30:21 +11:00
..
clone_state.rs Tree hash cache arena (#836) 2020-02-07 12:42:49 +11:00
ssz_encode_state.rs Faster BeaconState enc/dec (#671) 2019-12-06 16:44:03 +11:00
tree_hash_state.rs Add LRU cache to database (#837) 2020-02-10 11:30:21 +11:00