lighthouse/beacon_node/beacon_chain/src
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
..
block_verification Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
fork_choice Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
beacon_chain.rs Update VC and BN APIs for naive aggregation (#950) 2020-03-25 21:14:05 +11:00
beacon_snapshot.rs Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
block_verification.rs Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
builder.rs Update VC and BN APIs for naive aggregation (#950) 2020-03-25 21:14:05 +11:00
errors.rs Update VC and BN APIs for naive aggregation (#950) 2020-03-25 21:14:05 +11:00
eth1_chain.rs Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
events.rs Update to Spec v0.10 (#817) 2020-02-11 10:19:36 +11:00
fork_choice.rs Optimise beacon chain persistence (#851) 2020-03-06 16:09:41 +11:00
head_tracker.rs Fix clippy warnings (#813) 2020-01-21 18:38:56 +11:00
lib.rs Update VC and BN APIs for naive aggregation (#950) 2020-03-25 21:14:05 +11:00
metrics.rs Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
naive_aggregation_pool.rs Update VC and BN APIs for naive aggregation (#950) 2020-03-25 21:14:05 +11:00
persisted_beacon_chain.rs Optimise beacon chain persistence (#851) 2020-03-06 16:09:41 +11:00
shuffling_cache.rs Optimize attestation processing (#841) 2020-03-05 17:19:35 +11:00
snapshot_cache.rs Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
test_utils.rs Update VC and BN APIs for naive aggregation (#950) 2020-03-25 21:14:05 +11:00
timeout_rw_lock.rs Add timeouts to canonical head rwlock (#759) 2020-01-06 17:30:37 +11:00
validator_pubkey_cache.rs Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00