nimbus-eth2/beacon_chain/spec
Jacek Sieka 6b9419e547
fix db growth on attestation processing (#1860)
It turns out that we often save lots of states in the database that are
the result of empty slot processing only - here, we make sure to only
save a state if a block follows - this fixes several issues:

* empty slot states are not always pruned leading to state database size
explosion
* storing states is (very) slow which slows down processing in general,
so we should only do it when it's likely to be useful
* attestation processing doesn't get stuck on saving random states that
won't appear in the chain history
2020-10-15 14:28:44 +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 add v1.0.0-rc.0 support behind compile-time flag (#1852) 2020-10-13 17:21:25 +00:00
beaconstate.nim p2p-interface spec ref bump (except non-updated places) (#1862) 2020-10-12 14:37:14 +00: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 update spec/datatypes spec refs from v0.12.3 to v1.0.0 (#1866) 2020-10-14 10:00:27 +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 #1728 2020-10-06 15:46:22 +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 update 130+ spec references from v0.12.3 to v1.0.0-rc1 (#1854) 2020-10-12 08:59:24 +00:00
state_transition_helpers.nim update 130+ spec references from v0.12.3 to v1.0.0-rc1 (#1854) 2020-10-12 08:59:24 +00:00
validator.nim update 130+ spec references from v0.12.3 to v1.0.0-rc1 (#1854) 2020-10-12 08:59:24 +00:00
weak_subjectivity.nim Address review comments 2020-10-07 09:32:03 +03:00