lighthouse/eth2/utils
Paul Hauner fbcf0f8e2e
Update VC and BN APIs for naive aggregation (#950)
* Refactor `Attestation` production

* Add constant

* Start refactor for aggregation

* Return early when no attesting validators

* Refactor into individual functions

* Tidy, add comments

* Add first draft of NaiveAggregationPool

* Further progress on naive aggregation pool

* Fix compile errors in VC

* Change locking logic for naive pool

* Introduce AttesationType

* Add pruning, comments

* Add MAX_ATTESTATIONS_PER_SLOT restriction

* Add pruning based on slot

* Update BN for new aggregation fns

* Fix test compile errors

* Fix failing rest_api test

* Move SignedAggregateAndProof into own file

* Update docs, fix warning

* Tidy some formatting in validator API

* Remove T::default_spec from signing

* Fix failing rest test

* Tidy

* Add test, fix bug

* Improve naive pool tests

* Add max attestations test

* Revert changes to the op_pool

* Refactor timer
2020-03-25 21:14:05 +11:00
..
bls Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
cached_tree_hash Refactor tree hashing (#861) 2020-03-05 08:07:27 +11:00
compare_fields Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
compare_fields_derive Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
deposit_contract Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
eth2_config Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
eth2_hashing Refactor tree hashing (#861) 2020-03-05 08:07:27 +11:00
eth2_interop_keypairs Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
eth2_testnet_config Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
hashmap_delay Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
int_to_bytes Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
lighthouse_bootstrap Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
lighthouse_metrics Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
logging Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
merkle_proof Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
remote_beacon_node Update VC and BN APIs for naive aggregation (#950) 2020-03-25 21:14:05 +11:00
rest_types Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
serde_hex Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
slot_clock Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
ssz Refactor tree hashing (#861) 2020-03-05 08:07:27 +11:00
ssz_derive Add optimized SSZ decoding for fixed-len items (#865) 2020-03-04 11:45:01 +11:00
ssz_types Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
swap_or_not_shuffle Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
test_random_derive Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
tree_hash Refactor tree hashing (#861) 2020-03-05 08:07:27 +11:00
tree_hash_derive Refactor tree hashing (#861) 2020-03-05 08:07:27 +11:00