lighthouse/beacon_node/beacon_chain/src
Paul Hauner 2bfc512fb6
Add block/state caching on beacon chain (#677)
* Add basic block/state caching on beacon chain

* Adds checkpoint cache

* Stop storing the tree hash cache in the db

* Remove dedunant beacon state write

* Use caching get methods in fork choice

* Use caching state getting in state_by_slot

* Add state.cacheless_clone

* Attempt to improve attestation processing times

* Introduce HeadInfo struct

* Used cache tree hash for block processing

* Use cached tree hash for block production too
2019-12-09 14:20:25 +11:00
..
beacon_chain.rs Add block/state caching on beacon chain (#677) 2019-12-09 14:20:25 +11:00
builder.rs Add block/state caching on beacon chain (#677) 2019-12-09 14:20:25 +11:00
checkpoint_cache.rs Add block/state caching on beacon chain (#677) 2019-12-09 14:20:25 +11:00
checkpoint.rs Update to frozen spec ❄️ (v0.8.1) (#444) 2019-07-30 12:44:51 +10:00
errors.rs Address bugs (#639) 2019-11-27 18:37:09 +11:00
eth1_chain.rs Forwards block root iterators (#672) 2019-12-06 18:52:11 +11:00
events.rs Eth1 Integration (#542) 2019-11-15 14:47:51 +11:00
fork_choice.rs Prepare for public testnet (#628) 2019-12-03 15:28:57 +11:00
head_tracker.rs Prepare for public testnet (#628) 2019-12-03 15:28:57 +11:00
lib.rs Add block/state caching on beacon chain (#677) 2019-12-09 14:20:25 +11:00
metrics.rs Add block/state caching on beacon chain (#677) 2019-12-09 14:20:25 +11:00
persisted_beacon_chain.rs Prepare for public testnet (#628) 2019-12-03 15:28:57 +11:00
test_utils.rs Forwards block root iterators (#672) 2019-12-06 18:52:11 +11:00