eth2.0-specs/specs
Jacek Sieka bab5e402df
Ignore subset aggregates (#2847)
* Ignore subset aggregates

When aggregates are propagated through the network, it is often the case
that a better aggregate has already been seen - in particular, this
happens when an aggregator has not been able to include itself in the
mesh and therefore publishes an aggregate with only its own
attestations.

This new ignore rule allows dropping all aggregates that are
(non-strict) subsets of aggregates that have already been seen on the
network. In particular, it does not mandate dropping aggregates where a
union of previous aggregates would cause it to become a subset).

The logic for allowing this is based on the premise that any aggregate
that has already been seen by a peer will also have been seen by its
neighbours - a subset aggregate (strict or not) brings no new value to
the aggregation algorithm, except in the extreme edge case where you
could combine several such sparse aggregates into a single, more dense
"combined" aggregate and thus use less block space.

Further, as a small benefit, computing the `hash_tree_root` of the full
aggregate is generally not done -however, `hash_tree_root(data)` is
already done for other purposes as this is used as index in the beacon
API.

* add subset ignore rule to sync contributions as well

* typo
2022-05-17 07:05:22 -06:00
..
altair Ignore subset aggregates (#2847) 2022-05-17 07:05:22 -06:00
bellatrix bellatrix-p2p: fix a typo 2022-05-14 10:30:20 -07:00
capella minor patch to bytes formatting in capella 2022-05-10 09:37:01 -06:00
custody_game `doctoc` on `custody_game` specs 2022-01-17 12:56:51 +01:00
das Update reserved libp2p error documentation 2022-01-28 00:33:38 +01:00
eip4844 Merge pull request #2872 from benjaminion/patch-1 2022-04-17 08:00:33 -07:00
phase0 Ignore subset aggregates (#2847) 2022-05-17 07:05:22 -06:00
sharding Merge -> Bellatrix 2021-12-23 14:25:43 +08:00