lighthouse/beacon_node
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
..
beacon_chain Update VC and BN APIs for naive aggregation (#950) 2020-03-25 21:14:05 +11:00
client Adds ENR "eth2" field and Fork logic to networking (#953) 2020-03-24 21:45:53 +11:00
eth1 Discovery v0.2.0 Update (#926) 2020-03-19 15:11:08 +11:00
eth2-libp2p Adds ENR "eth2" field and Fork logic to networking (#953) 2020-03-24 21:45:53 +11:00
fork Adds ENR "eth2" field and Fork logic to networking (#953) 2020-03-24 21:45:53 +11:00
genesis Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
network Adds ENR "eth2" field and Fork logic to networking (#953) 2020-03-24 21:45:53 +11:00
rest_api Update VC and BN APIs for naive aggregation (#950) 2020-03-25 21:14:05 +11:00
src Adds ENR "eth2" field and Fork logic to networking (#953) 2020-03-24 21:45:53 +11:00
store Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
tests Faster attestation production (#838) 2020-03-04 17:10:22 +11:00
timer Update VC and BN APIs for naive aggregation (#950) 2020-03-25 21:14:05 +11:00
version Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
websocket_server Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00
Cargo.toml Initial work towards v0.2.0 (#924) 2020-03-17 17:24:44 +11:00