lighthouse/slasher/src
Pawan Dhananjay 31044402ee
Sidecar inclusion proof (#4900)
* Refactor BlobSidecar to new type

* Fix some compile errors

* Gossip verification compiles

* Fix http api types take 1

* Fix another round of compile errors

* Beacon node crate compiles

* EF tests compile

* Remove all blob signing from VC

* fmt

* Tests compile

* Fix some tests

* Fix more http tests

* get compiling

* Fix gossip conditions and tests

* Add basic proof generation and verification

* remove unnecessary ssz decode

* add back build_sidecar

* remove default at fork for blobs

* fix beacon chain tests

* get relase tests compiling

* fix lints

* fix existing spec tests

* add new ef tests

* fix gossip duplicate rule

* lints

* add back sidecar signature check in gossip

* add finalized descendant check to blob sidecar gossip

* fix error conversion

* fix release tests

* sidecar inclusion self review cleanup

* Add proof verification and computation metrics

* Remove accidentally committed file

* Unify some block and blob errors; add slashing conditions for sidecars

* Address review comment

* Clean up re-org tests (#4957)

* Address more review comments

* Add Comments & Eliminate Unnecessary Clones

* update names

* Update beacon_node/beacon_chain/src/metrics.rs

Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>

* Update beacon_node/network/src/network_beacon_processor/tests.rs

Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>

* pr feedback

* fix test compile

* Sidecar Inclusion proof small refactor and updates (#4967)

* Update some comments, variables and small cosmetic fixes.

* Couple blobs and proofs into a tuple in `PayloadAndBlobs` for simplicity and safety.

* Update function comment.

* Update testing/ef_tests/src/cases/merkle_proof_validity.rs

Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>

* Rename the block and blob wrapper types used in the beacon API interfaces.

* make sure gossip invalid blobs are passed to the slasher (#4970)

* Add blob headers to slasher before adding to DA checker

* Replace Vec with HashSet in BlockQueue

* fmt

* Rename gindex -> index

* Simplify gossip condition

---------

Co-authored-by: realbigsean <seananderson33@gmail.com>
Co-authored-by: realbigsean <sean@sigmaprime.io>
Co-authored-by: Michael Sproul <michael@sigmaprime.io>
Co-authored-by: Mark Mackey <mark@sigmaprime.io>
Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>
2023-12-05 11:19:59 -05:00
..
database Modularise slasher backend (#3443) 2022-08-15 01:30:56 +00:00
array.rs Activate clippy::manual_let_else lint (#4889) 2023-10-31 10:31:02 +00:00
attestation_queue.rs De-duplicate attestations in the slasher (#2767) 2021-11-08 00:01:09 +00:00
attester_record.rs Optimise slasher DB layout and switch to MDBX (#2776) 2021-12-21 08:23:17 +00:00
batch_stats.rs Add slasher broadcast (#2079) 2020-12-16 03:44:01 +00:00
block_queue.rs Sidecar inclusion proof (#4900) 2023-12-05 11:19:59 -05:00
config.rs Remove serde derive references (#4830) 2023-10-11 13:01:30 -04:00
database.rs Fix rust 1.65 lints (#3682) 2022-11-04 07:43:43 +00:00
error.rs Modularise slasher backend (#3443) 2022-08-15 01:30:56 +00:00
lib.rs Switch default slasher backend to LMDB (#4360) 2023-06-07 01:50:33 +00:00
metrics.rs Optimise slasher DB layout and switch to MDBX (#2776) 2021-12-21 08:23:17 +00:00
migrate.rs Optimise slasher DB layout and switch to MDBX (#2776) 2021-12-21 08:23:17 +00:00
slasher.rs Optimise slasher DB layout and switch to MDBX (#2776) 2021-12-21 08:23:17 +00:00
test_utils.rs Add test_logger as feature to logging (#2586) 2021-10-06 00:46:07 +00:00