eth2.0-specs/specs/phase0
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
..
beacon-chain.md Add new `DomainType` for application usage (#2884) 2022-05-16 08:08:15 -06:00
deposit-contract.md minor fix 2021-12-23 17:32:15 +08:00
fork-choice.md Fix linting 2022-05-09 15:05:05 +02:00
p2p-interface.md Ignore subset aggregates (#2847) 2022-05-17 07:05:22 -06:00
validator.md Require fork choice to run before proposal 2022-05-05 11:21:55 +10:00
weak-subjectivity.md rename eth1 and eth2 throughout specs and readme where reasonable 2021-08-18 17:13:24 -06:00