lighthouse/eth2/types/src
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
..
beacon_state Add LRU cache to database (#837) 2020-02-10 11:30:21 +11:00
test_utils Fix clippy warnings (#813) 2020-01-21 18:38:56 +11:00
utils Apply eth2.0 config spec to ChainSpec (#605) 2019-11-28 13:20:16 +11:00
attestation_data.rs Update to spec v0.9.1 (#597) 2019-11-21 11:47:30 +11:00
attestation_duty.rs Update to spec v0.9.1 (#597) 2019-11-21 11:47:30 +11:00
attestation.rs Fix clippy warnings (#813) 2020-01-21 18:38:56 +11:00
attester_slashing.rs Update to spec v0.9.1 (#597) 2019-11-21 11:47:30 +11:00
beacon_block_body.rs Update to spec v0.9.1 (#597) 2019-11-21 11:47:30 +11:00
beacon_block_header.rs Update to spec v0.9.1 (#597) 2019-11-21 11:47:30 +11:00
beacon_block.rs Validator client refactor (#618) 2019-11-25 15:48:24 +11:00
beacon_committee.rs Update to spec v0.9.1 (#597) 2019-11-21 11:47:30 +11:00
beacon_state.rs Add LRU cache to database (#837) 2020-02-10 11:30:21 +11:00
chain_spec.rs Move max_seed_lookahead to used constants (#705) 2019-12-12 17:11:14 +11:00
checkpoint.rs Update to spec v0.9.1 (#597) 2019-11-21 11:47:30 +11:00
deposit_data.rs Update to spec v0.9.1 (#597) 2019-11-21 11:47:30 +11:00
deposit.rs Update to spec v0.9.1 (#597) 2019-11-21 11:47:30 +11:00
eth1_data.rs Update to spec v0.9.1 (#597) 2019-11-21 11:47:30 +11:00
eth_spec.rs Update to spec v0.9.1 (#597) 2019-11-21 11:47:30 +11:00
fork.rs Update to spec v0.9.1 (#597) 2019-11-21 11:47:30 +11:00
free_attestation.rs Revert "Merge pull request #200 from sigp/new-structure" 2019-02-14 12:09:18 +11:00
historical_batch.rs Update to spec v0.9.1 (#597) 2019-11-21 11:47:30 +11:00
indexed_attestation.rs Update to spec v0.9.1 (#597) 2019-11-21 11:47:30 +11:00
lib.rs Tree hash cache arena (#836) 2020-02-07 12:42:49 +11:00
pending_attestation.rs Update to spec v0.9.1 (#597) 2019-11-21 11:47:30 +11:00
proposer_slashing.rs Update to spec v0.9.1 (#597) 2019-11-21 11:47:30 +11:00
relative_epoch.rs Update to spec v0.9.1 (#597) 2019-11-21 11:47:30 +11:00
slot_epoch_macros.rs Add ssz_fixed_len method to ssz::Encode 2019-09-08 12:23:37 -04:00
slot_epoch.rs Remove JSON epoch test 2019-09-02 16:29:05 +10:00
slot_height.rs Rename SSZ traits (Encodable -> Encode) 2019-05-13 15:12:19 +10:00
tree_hash_impls.rs Tree hash cache arena (#836) 2020-02-07 12:42:49 +11:00
utils.rs Interop chain start strategies (#479) 2019-08-06 13:29:27 +10:00
validator.rs Optimization: reduce BLS decompression (#766) 2020-01-10 15:32:10 +11:00
voluntary_exit.rs Update to spec v0.9.1 (#597) 2019-11-21 11:47:30 +11:00