nimbus-eth2/tests/mocking
Jacek Sieka 7dba1b37dd
remove attestation/aggregate queue (#2519)
With the introduction of batching and lazy attestation aggregation, it
no longer makes sense to enqueue attestations between the signature
check and adding them to the attestation pool - this only takes up
valuable CPU without any real benefit.

* add successfully validated attestations to attestion pool directly
* avoid copying participant list around for single-vote attestations,
pass single validator index instead
* release decompressed gossip memory earlier, specially during async
message validation
* use cooked signatures in a few more places to avoid reloads and errors
* remove some Defect-raising versions of signature-loading
* release decompressed data memory before validating message
2021-04-26 22:39:44 +02:00
..
mock_attestations.nim remove attestation/aggregate queue (#2519) 2021-04-26 22:39:44 +02:00
mock_blocks.nim remove attestation/aggregate queue (#2519) 2021-04-26 22:39:44 +02:00
mock_deposits.nim remove attestation/aggregate queue (#2519) 2021-04-26 22:39:44 +02:00
mock_genesis.nim Merge devel and resolve conflicts 2020-07-10 02:02:40 +03:00
mock_state.nim stop discarding future epochs; remove a StateCache() construction (#1610) 2020-09-07 15:04:33 +00:00
mock_validator_keys.nim performance fixes (#2259) 2021-01-25 13:04:18 +01:00