nimbus-eth2/beacon_chain/spec
Jacek Sieka 46c94a18ba rework epoch cache referencing
* collect all epochrefs in specific blocks to make them easier to find
and to avoid lots of small seqs
* reuse validator key databases more aggressively by comparing keys
* make state cache available from within `withState`
* make epochRef available from within onBlockAdded callback
* integrate getEpochInfo into block resolution and epoch ref logic such
that epochrefs are created when blocks are added to pool or lazily when
needed by a getEpochRef
* fill state cache better from EpochRef, speeding up replay and
validation
* store epochRef in specific blocks to make them easier to find and
reuse
* fix database corruption when state is saved while replaying quarantine
* replay slots fully from block pool before processing state
* compare bls values more smartly
* store epoch state without block applied in database - it's recommended
to resync the node!

this branch will drastically speed up processing in times of long
non-finality, as well as cut memory usage by 10x during the recent
medalla madness.
2020-08-19 10:09:06 +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 small spec cleanups (#1501) 2020-08-13 13:47:06 +00: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 refactor topic (un)subscribing/validating to collate each (#1510) 2020-08-17 14:07:29 +02: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 refactor topic (un)subscribing/validating to collate each (#1510) 2020-08-17 14:07:29 +02:00
state_transition_helpers.nim fix get_unslashed_attesting_indices() and add official EF rewards tests for it (#1514) 2020-08-17 01:09:27 +00:00
validator.nim small spec cleanups (#1501) 2020-08-13 13:47:06 +00:00