nimbus-eth2/beacon_chain/spec
Jacek Sieka 499e5ca991
misc memory and perf fixes (#1899)
* misc memory and perf fixes

* use EpochRef for attestation aggregation
* compress effective balances in memory (medalla unfinalized: 4gb ->
1gb)
* avoid hitting db when rewinding to head or clearance state
* avoid hitting db when blocks can be applied to in-memory state -
speeds up startup considerably
* avoid storing epochref in fork choice
* simplify and speed up beacon block creation flow - avoids state reload
thanks to head rewind optimization
* iterator-based committee and attestation participation help avoid lots
of small memory allocations throughout epoch transition (40% speedup on
epoch processing, for example during startup)

* add constant for threshold
2020-10-22 12:53:33 +02:00
..
eth2_apis removed 2 buggy RPC API endpoints - there are 2 well functioning ones in validator_api.nim anyway (#1867) 2020-10-15 14:26:59 +02:00
presets update v1.0.0-rc.0 preset spec references (#1891) 2020-10-19 13:53:23 +00:00
beaconstate.nim misc memory and perf fixes (#1899) 2020-10-22 12:53:33 +02:00
crypto.nim update 130+ spec references from v0.12.3 to v1.0.0-rc1 (#1854) 2020-10-12 08:59:24 +00:00
datatypes.nim bump libp2p; integrate pubsub.ValidationResult into extended validation (#1893) 2020-10-20 12:31:20 +00:00
digest.nim update 130+ spec references from v0.12.3 to v1.0.0-rc1 (#1854) 2020-10-12 08:59:24 +00:00
english_word_list.txt Bump testutils 2020-06-01 16:58:28 +03:00
helpers.nim update 130+ spec references from v0.12.3 to v1.0.0-rc1 (#1854) 2020-10-12 08:59:24 +00:00
keystore.nim Address #1687 2020-10-15 20:15:51 +03:00
network.nim p2p-interface spec ref bump (except non-updated places) (#1862) 2020-10-12 14:37:14 +00:00
preset_values.nim Multinet fixes (#1774) 2020-09-29 10:12:57 +02:00
presets.nim add v1.0.0-rc.0 support behind compile-time flag (#1852) 2020-10-13 17:21:25 +00:00
signatures.nim update 130+ spec references from v0.12.3 to v1.0.0-rc1 (#1854) 2020-10-12 08:59:24 +00:00
state_transition.nim fix db growth on attestation processing (#1860) 2020-10-15 14:28:44 +02:00
state_transition_block.nim update 130+ spec references from v0.12.3 to v1.0.0-rc1 (#1854) 2020-10-12 08:59:24 +00:00
state_transition_epoch.nim Address #1584 Don't keep all deposits in memory (persist them to disk) 2020-10-15 20:15:51 +03:00
state_transition_helpers.nim misc memory and perf fixes (#1899) 2020-10-22 12:53:33 +02:00
validator.nim misc memory and perf fixes (#1899) 2020-10-22 12:53:33 +02:00
weak_subjectivity.nim Address review comments 2020-10-07 09:32:03 +03:00