nimbus-eth2/beacon_chain/rpc
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
..
beacon_api.nim singe validator key cache 2021-06-01 20:43:44 +03:00
beacon_rest_api.nim singe validator key cache 2021-06-01 20:43:44 +03:00
config_api.nim singe validator key cache 2021-06-01 20:43:44 +03:00
config_rest_api.nim singe validator key cache 2021-06-01 20:43:44 +03:00
debug_api.nim singe validator key cache 2021-06-01 20:43:44 +03:00
debug_rest_api.nim singe validator key cache 2021-06-01 20:43:44 +03:00
eth2_json_rest_serialization.nim partially integrate eth1 merge changes (#2548) 2021-05-20 10:44:13 +00:00
eth2_json_rpc_serialization.nim json cleanups (#2456) 2021-03-26 15:11:06 +01:00
eth_merge_sigs.nim non-intrusive, novel portions of merge (#2535) 2021-05-04 11:54:19 +00:00
eth_merge_web3.nim partially integrate eth1 merge changes (#2548) 2021-05-20 10:44:13 +00:00
event_api.nim json cleanups (#2456) 2021-03-26 15:11:06 +01:00
event_rest_api.nim Address #2491. 2021-04-13 17:07:41 +03:00
nimbus_api.nim singe validator key cache 2021-06-01 20:43:44 +03:00
nimbus_rest_api.nim singe validator key cache 2021-06-01 20:43:44 +03:00
node_api.nim json cleanups (#2456) 2021-03-26 15:11:06 +01:00
node_rest_api.nim Convert all the tuples to objects because of de-serialization of tuples issue. 2021-05-21 09:47:13 +03:00
rest_utils.nim singe validator key cache 2021-06-01 20:43:44 +03:00
rpc_utils.nim singe validator key cache 2021-06-01 20:43:44 +03:00
validator_api.nim singe validator key cache 2021-06-01 20:43:44 +03:00
validator_rest_api.nim singe validator key cache 2021-06-01 20:43:44 +03:00