prysm-pulse/beacon-chain
Raul Jordan 4551bb47fc
Add Events Streaming Endpoint for Eth2 Standard API (#9001)
* begin event source support

* add in events server and proto definitions

* fmt

* add in stream support and proper building

* add in the protos

* tidy

* add structure and comments

* fmt

* revert proto changes

* only return events we explicitly request

* capture missing events needed for eth2 apis

* handle underflow

* no hash tree roots

* gazelle

* static

* race tests passing

* simplify

* handle all required events

* begin on stream tests

* correctness and abstracting method for forwarding to state feed

* genesis root

* include missing pieces

* logging

* rem and and handle return

* added mock

* add in mock

* add tests for block events

* added comprehensive tests

* radek comments

* add missing unit tests

* updatemockgen file

* viz

* done

* Update beacon-chain/rpc/eventsv1/events.go

* Update beacon-chain/rpc/eventsv1/events.go

Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-06-14 16:58:08 +00:00
..
blockchain Capture ChainReorg, FinalizedCheckpoint, and NewHead Events in Beacon Node (#9011) 2021-06-10 16:13:15 -05:00
cache Change To LRU from FIFO Cache (#8996) 2021-06-10 21:53:34 +00:00
core Refactor helpers for Altair (#9026) 2021-06-11 19:29:50 +00:00
db Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
forkchoice Move chainheads to blockchain pkg (#8700) 2021-04-03 11:25:25 +00:00
interop-cold-start Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
node Fix Interop Mode (#8961) 2021-06-02 02:45:10 +00:00
operations Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
p2p Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
package Feature/debian packages (#8872) 2021-06-01 15:44:24 +00:00
powchain Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
rpc Add Events Streaming Endpoint for Eth2 Standard API (#9001) 2021-06-14 16:58:08 +00:00
server Unify gRPC Gateways into Single, Shared lib (#8799) 2021-05-04 17:20:58 +02:00
slasher/types Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
state Create ValidatorIndexOutOfRangeError (#9035) 2021-06-14 16:38:48 +00:00
sync Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
BUILD.bazel Add Goland Standard "cmd" Pattern for Beacon-Chain Binaries (#8540) 2021-03-02 13:36:03 -06:00
README.md Fix Up READMEs for Mainnet (#7910) 2020-11-23 18:47:55 +00:00

Prysmatic Labs Beacon Chain Implementation

This is the main project folder for the beacon chain implementation of eth2 written in Go by Prysmatic Labs.

You can also read our main README and join our active chat room on Discord.

Discord

Also, read the official beacon chain specification, this design spec serves as a source of truth for the beacon chain implementation we follow at Prysmatic Labs.