nimbus-eth2/beacon_chain/rpc
Mamy Ratsimbazafy 70a03658e3
Block validation flow v2 + Batch (serial) sig verification (#2250)
* bump nim-blscurve

* Outline the block validation flow

* introduce the SigVerified types, pass the tests

* Split clearance/quarantine to prepare for batch crypto verif

* Add a batch signature collector

* Make clearance use SigVerified block and split verification between crypto and state transition

* Always use signedBeaconBlock for the onBlockAdded callback

* RANDAO signing_root is the epoch instead of the full block

* Support skipping BLS for testing

* Fix compilation of the validator client

* Try to fix strange errors MacOS and Jenkins (Clang, unknown type name br_hmac_drbg_context in stdlib_assertions.nim.c)

* address https://github.com/status-im/nimbus-eth2/pull/2250#discussion_r561819858

* address https://github.com/status-im/nimbus-eth2/pull/2250#discussion_r561828025

* onBlockAdded callback should use TrustedSignedBeaconBlock https://github.com/status-im/nimbus-eth2/pull/2250#discussion_r561837261

* address https://github.com/status-im/nimbus-eth2/pull/2250#discussion_r561828946

* Use the application RNG: https://github.com/status-im/nimbus-eth2/pull/2250#discussion_r561815336

* Improve codegen of conversion zero-cost)

* Quick fixes with loadWithCache after #2259 (TODO: graceful error since pubkey validations is now done first in signatures_batch)

* Graceful handle rogue pubkeys and signatures now that those are lazy-loaded
2021-01-25 20:45:48 +02:00
..
beacon_api.nim Block validation flow v2 + Batch (serial) sig verification (#2250) 2021-01-25 20:45:48 +02:00
config_api.nim More complete reset of the web3 provider on each failure; Fix #2184 2020-12-16 00:21:11 +02:00
debug_api.nim Address review comments 2020-11-20 17:13:51 +02:00
event_api.nim move rpc api to own folder, mimic upstream structure (#1905) 2020-10-27 10:00:57 +01:00
nimbus_api.nim Add Eth1 deposits simulation to block_sim 2021-01-04 13:22:00 +02:00
node_api.nim Peer stuff (#2084) 2020-11-26 20:23:45 +01:00
rpc_utils.nim move rpc api to own folder, mimic upstream structure (#1905) 2020-10-27 10:00:57 +01:00
validator_api.nim performance fixes (#2259) 2021-01-25 13:04:18 +01:00