nimbus-eth2/beacon_chain
Jacek Sieka ee79c10a7d
update validator key cache on startup (#2760)
* update validator key cache on startup

Versions prior to 1.1.0 do not write a validator key cache at all.

Versions from 1.4.0 and upwards require an immutable validator key cache
to verify blocks - normally, block verification fills the cache but that
assumes that at least one block was verified by a version that has the
key cache.

Taken together, this breaks direct upgrades from anything <1.1.0 to
1.4.0.

The fix is simply to refresh fill the cache from an existing state on
startup.

* also log serious block validation failures at info level
2021-08-05 11:26:10 +03:00
..
consensus_object_pools update validator key cache on startup (#2760) 2021-08-05 11:26:10 +03:00
eth1 A simple script for fetching detailed deposit data 2021-05-28 19:34:20 +03:00
fork_choice remove attestation/aggregate queue (#2519) 2021-04-26 22:39:44 +02:00
gossip_processing Fix #2595 - recompute wallSlot across async calls (#2650) 2021-06-17 16:43:58 +02:00
networking Remove no longer needed raw Exception raises for queryRandom (#2633) 2021-06-08 22:23:19 +02:00
rpc Add CONFIG_NAME parameter to REST API /eth/v1/config/spec response. (#2652) 2021-06-21 11:31:10 +02:00
spec doppelganger detection walltime refactor (#2656) 2021-06-17 16:43:58 +02:00
ssz proposed structure for altair (#2323) 2021-05-28 15:25:58 +00:00
sync Fix another logging property type inconsistency 2021-06-10 12:17:17 +03:00
validators increase block attestation wait time (#2705) 2021-07-07 12:11:51 +02:00
.gitignore Rename binaries; Mimic the original repo layout in the distribution 2020-11-09 11:38:52 +02:00
beacon_chain_db.nim update validator key cache on startup (#2760) 2021-08-05 11:26:10 +03:00
beacon_chain_db_immutable.nim write uncompressed validator keys to database (#2639) 2021-06-10 10:37:02 +03:00
beacon_clock.nim Nim-1.2.12 2021-04-19 10:53:58 +03:00
beacon_node_common.nim singe validator key cache 2021-06-01 20:43:44 +03:00
beacon_node_status.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
beacon_node_types.nim singe validator key cache 2021-06-01 20:43:44 +03:00
conf.nim Fix an accidentally commented out line 2021-06-10 11:42:40 +03:00
extras.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
filepath.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
interop.nim remove attestation/aggregate queue (#2519) 2021-04-26 22:39:44 +02:00
nimbus_beacon_node.nim Increase REST service timeout setting to 2xSECONDS_PER_SLOT. (#2627) 2021-06-03 11:43:04 +02:00
nimbus_beacon_node.nim.cfg Drop UseDiscv51 flag and only support discovery v5.1 2020-11-14 19:12:30 +02:00
nimbus_binary_common.nim flush stdout logs (#2669) 2021-07-07 12:11:12 +02:00
nimbus_signing_process.nim singe validator key cache 2021-06-01 20:43:44 +03:00
nimbus_validator_client.nim Perform attestation check before broadcast (#2550) 2021-05-10 09:13:36 +02:00
nimbus_validator_client.nim.cfg Rename binaries; Mimic the original repo layout in the distribution 2020-11-09 11:38:52 +02:00
ssz.nim Move SSZ, deposit_contracts & eth1_monitor [reorg files 3/5] (#2371) 2021-03-03 07:23:05 +01:00
statediff.nim write uncompressed validator keys to database (#2639) 2021-06-10 10:37:02 +03:00
statusbar.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
version.nim v1.4.1 changelog and version 2021-07-10 15:18:32 +02:00