lighthouse/eth2/utils
Paul Hauner c3182e3c1c
Tree hash cache arena (#836)
* Start adding interop genesis state to lcli

* Use more efficient method to generate genesis state

* Remove duplicate int_to_bytes32

* Add lcli command to change state genesis time

* Add option to allow VC to start with unsynced BN

* Set VC to do parallel key loading

* Don't default to dummy eth1 backend

* Add endpoint to dump operation pool

* Add metrics for op pool

* Remove state clone for slot notifier

* Add mem size approximation for tree hash cache

* Avoid cloning tree hash when getting head

* Avoid cloning tree hash when getting head

* Add working arena-based cached tree hash

* Add another benchmark

* Add pre-allocation for caches

* Make cache nullable

* Fix bugs in cache tree hash

* Add validator tree hash optimization

* Optimize hash_concat

* Make hash32_concat return fixed-len array

* Fix failing API tests

* Add new beacon state cache struct

* Add validator-specific cache

* Separate list and values arenas

* Add parallel validator registry hashing

* Remove MultiTreeHashCache

* Remove cached tree hash macro

* Fix failing tree hash test

* Address Michael's comments

* Add CachedTreeHash impl for ef tests

* Fix messy merge conflict

* Rename cache struct, add comments

* Rename cache struct, add comments

* Remove unnecessary mutability

* Wrap iter in result

* Tidy cached tree hash

* Address Michael comments

* Address more comments

* Use ring::Context
2020-02-07 12:42:49 +11:00
..
bls Bump bls version (#768) 2020-01-28 15:19:45 +11:00
cached_tree_hash Tree hash cache arena (#836) 2020-02-07 12:42:49 +11:00
compare_fields Add extra level of comparisons to CompareFields 2019-05-24 14:08:19 +10:00
compare_fields_derive Robustify derive macro attribute parsing (#544) 2019-09-28 14:29:14 +10:00
deposit_contract Fix clippy warnings (#813) 2020-01-21 18:38:56 +11:00
eth2_config Eth1 Integration (#542) 2019-11-15 14:47:51 +11:00
eth2_hashing Tree hash cache arena (#836) 2020-02-07 12:42:49 +11:00
eth2_interop_keypairs Bump bls version (#768) 2020-01-28 15:19:45 +11:00
eth2_testnet_config Fix clippy warnings (#813) 2020-01-21 18:38:56 +11:00
int_to_bytes Tree hash cache arena (#836) 2020-02-07 12:42:49 +11:00
lighthouse_bootstrap Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
lighthouse_metrics Fix clippy warnings (#813) 2020-01-21 18:38:56 +11:00
logging Add proto_array fork choice (#804) 2020-01-29 15:05:00 +11:00
merkle_proof Tree hash cache arena (#836) 2020-02-07 12:42:49 +11:00
remote_beacon_node Optimizations, disable val client sync check & additional lcli tools (#834) 2020-02-04 12:43:04 +11:00
serde_hex Updates external dependencies (#577) 2019-10-30 12:22:18 +11:00
slot_clock Validator client refactor (#618) 2019-11-25 15:48:24 +11:00
ssz Fix clippy warnings (#813) 2020-01-21 18:38:56 +11:00
ssz_derive Fix custom derive macros (#621) 2019-11-24 12:00:49 +11:00
ssz_types Fix clippy warnings (#813) 2020-01-21 18:38:56 +11:00
swap_or_not_shuffle Update to spec v0.9.1 (#597) 2019-11-21 11:47:30 +11:00
test_random_derive Robustify derive macro attribute parsing (#544) 2019-09-28 14:29:14 +10:00
tree_hash Tree hash cache arena (#836) 2020-02-07 12:42:49 +11:00
tree_hash_derive Tree hash cache arena (#836) 2020-02-07 12:42:49 +11:00