nimbus-eth2/beacon_chain
Jacek Sieka abe0d7b4ae singe validator key cache
Instead of keeping a validator key list per EpochRef, this PR introduces
a single shared validator key list in ChainDAG, and cleans up some other
ChainDAG and key-related issues.

The PR does not introduce the validator key list in the state transition
- this is because we batch-check all signatures before entering the spec
code, thus the spec code never hits the cache.

A future refactor should _probably_ remove the threadvar altogether.

There's a few other small fixes in here that make the flow easier to
read:

* fix `var ChainDAGRef` -> `ChainDAGRef`
* fix `var QuarantineRef` -> `QuarantineRef`
* consistent `dag` variable name
* avoid using threadvar pubkey cache in most cases
* better error messages in batch signature checking
2021-06-01 20:43:44 +03:00
..
consensus_object_pools singe validator key cache 2021-06-01 20:43:44 +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 singe validator key cache 2021-06-01 20:43:44 +03:00
networking Allow the custom testnet metadata to specify a path to the genesis file 2021-06-01 15:50:50 +03:00
rpc singe validator key cache 2021-06-01 20:43:44 +03:00
spec singe validator key cache 2021-06-01 20:43:44 +03:00
ssz proposed structure for altair (#2323) 2021-05-28 15:25:58 +00:00
sync singe validator key cache 2021-06-01 20:43:44 +03:00
validators singe validator key cache 2021-06-01 20:43:44 +03:00
.gitignore Rename binaries; Mimic the original repo layout in the distribution 2020-11-09 11:38:52 +02:00
beacon_chain_db.nim avoid reading legacy db on write 2021-05-30 12:32:51 +03:00
beacon_chain_db_immutable.nim Revert "create new database in separate file (#2596)" (#2604) 2021-05-27 12:59:42 +02: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 Allow the custom testnet metadata to specify a path to the genesis file 2021-06-01 15:50:50 +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 singe validator key cache 2021-06-01 20:43:44 +03: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 log doppelganger attestation signature; rm withState.HashedBeaconState uses (#2608) 2021-05-28 15:51:15 +03: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 singe validator key cache 2021-06-01 20:43:44 +03:00
statusbar.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
version.nim Merge stable into unstable 2021-05-20 13:50:40 +03:00