prysm-pulse/beacon-chain/rpc
qinlz2 b8c5af665f
[3/5] light client events (#13225)
* add http streaming light client events

* expose ForkChoiceStore

* return error in insertFinalizedDeposits

* send light client updates

* Revert "return error in insertFinalizedDeposits"

This reverts commit f7068663b8c8b3a3bf45950d5258011a5e4d803e.

* fix: lint

* fix: patch the wrong error response

* refactor: rename the JSON structs

* fix: LC finalized stream return correct format

* fix: LC op stream return correct JSON format

* fix: omit nil JSON fields

* chore: gazzle

* fix: make update by range return list directly based on spec

* chore: remove unneccessary json annotations

* chore: adjust comments

* feat: introduce EnableLightClientEvents feature flag

* feat: use enable-lightclient-events flag

* chore: more logging details

* chore: fix rebase errors

* chore: adjust data structure to save mem

* Update beacon-chain/blockchain/process_block.go

Co-authored-by: Radosław Kapka <rkapka@wp.pl>

* refactor: rename config EnableLightClient

* refactor: rename feature flag

* refactor: move helper functions to helper pkg

* test: fix broken unit tests

---------

Co-authored-by: Nicolás Pernas Maradei <nicolas@polymerlabs.org>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2024-01-11 18:38:59 +00:00
..
core Refactor Network Config Into Main Config (#13364) 2023-12-19 14:59:30 +00:00
eth [3/5] light client events (#13225) 2024-01-11 18:38:59 +00:00
lookup Beacon API: fix get blob returns 500 instead of empty (#13297) 2023-12-07 22:33:26 +00:00
prysm sort static analyzers, add more, fix violations (#13441) 2024-01-09 23:29:36 +00:00
testutil Beacon API: update Deneb endpoints after removing blob signing (#13235) 2023-12-07 17:37:11 +00:00
BUILD.bazel Beacon API: update Deneb endpoints after removing blob signing (#13235) 2023-12-07 17:37:11 +00:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
service_test.go Beacon API: routes unit test (#13276) 2023-12-06 15:17:13 +00:00
service.go refactor Payload Id caches (#12987) 2023-12-22 18:47:51 +00:00