nimbus-eth2/beacon_chain/spec
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
..
eth2_apis Add an option for graffiti customization 2020-07-12 21:01:31 +03:00
presets/v0_12_2 Fix 'make test' 2020-08-06 14:49:58 +03:00
beaconstate.nim more speedups 2020-08-19 14:51:04 +03:00
crypto.nim rework epoch cache referencing 2020-08-19 10:09:06 +03:00
datatypes.nim initial dynamic subscribe/unsubscribe for attestations to/from subnets (#1462) 2020-08-12 17:48:31 +00:00
digest.nim update 111 v0.12.1 beacon chain spec refs to v0.12.2 (#1380) 2020-07-27 18:49:46 +02:00
english_word_list.txt Bump testutils 2020-06-01 16:58:28 +03:00
helpers.nim add --enable-logtrace argument to launch_local_testnet (#1502) 2020-08-16 11:12:19 +02:00
keystore.nim Allow loading keystores produced by Lighthouse 2020-08-06 17:33:57 +03:00
network.nim [skip ci] Use GOSSIP_MAX_SIZE when snappy decoding in the inspector as well; Bumps 2020-08-19 14:33:52 +03:00
preset_values.nim v0.12.2 beacon chain protocol update (#1378) 2020-07-27 12:59:57 +02:00
presets.nim make eth1 distance runtime configurable 2020-08-06 14:49:58 +03:00
signatures.nim lazily initialize validator public keys, which were a third or more of sync CPU usage 2020-08-04 23:00:33 +03:00
state_transition.nim rework epoch cache referencing 2020-08-19 10:09:06 +03:00
state_transition_block.nim use cache in process_voluntary_exit() (#1507) 2020-08-14 12:42:59 +00:00
state_transition_epoch.nim more speedups 2020-08-19 14:51:04 +03:00
state_transition_helpers.nim more speedups 2020-08-19 14:51:04 +03:00
validator.nim avoid double deserialization 2020-08-21 11:46:25 +03:00