nimbus-eth2/research
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
..
.gitignore some ignores 2019-03-26 19:41:34 -06:00
block_sim.nim singe validator key cache 2021-06-01 20:43:44 +03:00
block_sim.nim.cfg block pool simulator (#956) 2020-05-01 17:51:24 +02:00
simutils.nim rename initialize_beacon_state to initialize_beacon_state_from_eth1 (#2536) 2021-05-04 12:19:11 +02:00
stack_sizes.nim cleanups (#962) 2020-05-04 07:38:14 +02:00
stack_sizes.nim.cfg cleanups (#962) 2020-05-04 07:38:14 +02:00
state_sim.nim use StateData in place of BeaconState outside state transition code (#2551) 2021-05-21 09:23:28 +00:00
state_sim.nim.cfg add simple wasm page with state simulator (#334) 2020-01-22 15:36:16 +00:00