nimbus-eth2/beacon_chain/spec
Jacek Sieka 157ddd2ac4
Fork choice fixes 5 (#1381)
* limit attestations kept in attestation pool

With fork choice updated, the attestation pool only needs to keep track
of attestations that will eventually end up in blocks - we can thus
limit the horizon of attestations that we keep more aggressively.

To get here, we expose getEpochRef which gets metadata about a
particular epochref, and make sure to populate it when a block is added
- this ensures that state rewinds during block addition are minimized.

In addition, we'll use the target root/epoch when validating
attestations - this helps minimize the number of different states that
we need to rewind to, in general.

* remove CandidateChains.justifiedState

unused

* remove BlockPools.Head object

* avoid quadratic quarantine loop

* fix
2020-07-28 13:54:32 +00:00
..
eth2_apis Add an option for graffiti customization 2020-07-12 21:01:31 +03:00
presets/v0_12_2 v0.12.2 beacon chain protocol update (#1378) 2020-07-27 12:59:57 +02:00
beaconstate.nim Fork choice fixes 5 (#1381) 2020-07-28 13:54:32 +00:00
crypto.nim Integrate the Wallet support with the Deposits creation; Produce Launchpad-compatible deposits 2020-07-28 07:36:25 +03:00
datatypes.nim Fork choice fixes 5 (#1381) 2020-07-28 13:54:32 +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 update 111 v0.12.1 beacon chain spec refs to v0.12.2 (#1380) 2020-07-27 18:49:46 +02:00
keystore.nim Integrate the Wallet support with the Deposits creation; Produce Launchpad-compatible deposits 2020-07-28 07:36:25 +03:00
network.nim spec cleanups (#1379) 2020-07-27 16:04:44 +00:00
preset_values.nim v0.12.2 beacon chain protocol update (#1378) 2020-07-27 12:59:57 +02:00
presets.nim v0.12.2 beacon chain protocol update (#1378) 2020-07-27 12:59:57 +02:00
signatures.nim update 111 v0.12.1 beacon chain spec refs to v0.12.2 (#1380) 2020-07-27 18:49:46 +02:00
state_transition.nim update 111 v0.12.1 beacon chain spec refs to v0.12.2 (#1380) 2020-07-27 18:49:46 +02:00
state_transition_block.nim update 111 v0.12.1 beacon chain spec refs to v0.12.2 (#1380) 2020-07-27 18:49:46 +02:00
state_transition_epoch.nim update 111 v0.12.1 beacon chain spec refs to v0.12.2 (#1380) 2020-07-27 18:49:46 +02:00
state_transition_helpers.nim update 111 v0.12.1 beacon chain spec refs to v0.12.2 (#1380) 2020-07-27 18:49:46 +02:00
validator.nim Fork choice fixes 5 (#1381) 2020-07-28 13:54:32 +00:00