nimbus-eth2/tests
Jacek Sieka 22998fdfd4 avoid double deserialization
When blocks and attestations arrive, they are SSZ-decoded twice: once
for validation and once for processing. This branch enqueues the decoded
block directly for processing, avoiding the second, slow
deserialization.

* move processing of blocks and attestations to queue
* ...and out from beacon_node
* split attestation processing into attestations and aggregates
  * also updates metrics
* clean up logging to better follow the lifetime of gossip: arrival,
validation and processing
* drop attestations and aggregates if there are too many
* try to prioritise blocks and aggregates before single-validator
attestations
2020-08-21 11:46:25 +03:00
..
fork_choice simplify fork choice code (#1521) 2020-08-18 16:56:32 +02:00
fuzzing Local sim now includes a prometheus server, a Ganache instance and a simulation dashboard server (in Tmux mode) 2020-06-22 17:30:04 +03:00
helpers Bump nim-blscurve (#1491) 2020-08-15 19:33:58 +02:00
mocking Bump nim-blscurve (#1491) 2020-08-15 19:33:58 +02:00
official add EF finality tests (#1515) 2020-08-17 07:19:48 +00:00
simulation create local testnet mode for eth2_network (#1494) 2020-08-12 14:16:59 +00:00
spec_block_processing update 111 v0.12.1 beacon chain spec refs to v0.12.2 (#1380) 2020-07-27 18:49:46 +02:00
spec_epoch_processing spec cleanups (#1379) 2020-07-27 16:04:44 +00:00
all_tests.nim Address review comments; Add a test 2020-07-12 21:01:31 +03:00
all_tests.nim.cfg Use only secp256k1 as identity in libp2p. (#1343) 2020-07-21 18:07:14 +02:00
test_attestation_pool.nim rework epoch cache referencing 2020-08-19 10:09:06 +03:00
test_beacon_chain_db.nim add state root test (#1466) 2020-08-07 22:17:24 +02:00
test_beacon_node.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
test_beaconstate.nim Prefer converting int` to uint64 and switch foo.len.uint64 to .len64 (#1375) 2020-07-26 20:55:48 +02:00
test_bitseqs.nim reorder ssz (#1099) 2020-06-03 15:52:02 +02:00
test_block_pool.nim rework epoch cache referencing 2020-08-19 10:09:06 +03:00
test_datatypes.nim Address review comments; Add a test 2020-07-12 21:01:31 +03:00
test_helpers.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
test_honest_validator.nim remove v0.11.3 support; add block_sim to CI (#1253) 2020-06-29 18:08:58 +00:00
test_interop.nim Bump nim-blscurve (#1491) 2020-08-15 19:33:58 +02:00
test_keystore.nim Bump nim-blscurve (#1491) 2020-08-15 19:33:58 +02:00
test_mainchain_monitor.nim bump submodules 2020-07-14 03:01:23 +02:00
test_mocking.nim refactor some Merkle proof generation code outside tests; remove unused variables/functions 2020-04-15 09:59:49 +00:00
test_peer_connection.nim more fork-choice fixes (#1388) 2020-07-30 17:48:25 +02:00
test_peer_pool.nim Use one single async queue and loop for processing blocks. (#1487) 2020-08-12 11:29:11 +02:00
test_ssz.nim Prefer converting int` to uint64 and switch foo.len.uint64 to .len64 (#1375) 2020-07-26 20:55:48 +02:00
test_state_transition.nim Bump nim-blscurve (#1491) 2020-08-15 19:33:58 +02:00
test_sync_manager.nim avoid double deserialization 2020-08-21 11:46:25 +03:00
test_sync_protocol.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
test_zero_signature.nim Revert "Lazy crypto [alt design #1369] (#1371)" (#1435) 2020-08-04 17:15:13 +00:00
testblockutil.nim Bump nim-blscurve (#1491) 2020-08-15 19:33:58 +02:00
testutil.nim renamed CandidateChains to ChainDagRef and made the Quarantine type a ref type so there is a single instance in the beacon node (#1407) 2020-07-31 14:49:06 +00:00