lighthouse/beacon_node/operation_pool/src
Michael Sproul 3b901dc5ec Pack attestations into blocks in parallel (#2307)
## Proposed Changes

Use two instances of max cover when packing attestations into blocks: one for the previous epoch, and one for the current epoch. This reduces the amount of computation done by roughly half due to the `O(n^2)` running time of max cover (`2 * (n/2)^2 = n^2/2`). This should help alleviate some load on block proposal, particularly on Prater.
2021-04-13 05:27:42 +00:00
..
attestation_id.rs Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
attestation.rs Pack attestations into blocks in parallel (#2307) 2021-04-13 05:27:42 +00:00
attester_slashing.rs Pack attestations into blocks in parallel (#2307) 2021-04-13 05:27:42 +00:00
lib.rs Pack attestations into blocks in parallel (#2307) 2021-04-13 05:27:42 +00:00
max_cover.rs Pack attestations into blocks in parallel (#2307) 2021-04-13 05:27:42 +00:00
metrics.rs Pack attestations into blocks in parallel (#2307) 2021-04-13 05:27:42 +00:00
persistence.rs Process exits and slashings off the network (#1253) 2020-06-18 21:06:34 +10:00