prysm-pulse/proto
Ivan Martinez daf0b51361
Eth2 API: Implement block endpoints (#7433)
* Start Beacon API outline

* Rename to v1

* Add impl

* Change to outline

* Add comments

* Remove unneeded items

* Fix linting

* tidy

* Fix visibility

* go.sum

* Fix deps

* Tidy

* Implement blocks API endpoints

* Add check for interface type and fix pointers

* Fix pointer name

* gaz

* Fix comments

* Fix imports

* Fix analysis

* Add more coverage

* Add coverage and fix errors

* Fix head test

* Fix test remove println

* Fix error text and cleanup

* Change tests to TDD

* Add tests for finalized

* Fix att test

* Fix analysis

* Fix go mo d

* Fix proto

* fix go mod

* Extend testing

* Fix tests

* Move migration to package and test block atts

* Fix migration

* Gaz

* Check for block canonical before returning

* Fix text

* Gaz

* Fix tests

* Fix tests

* Fix canonical

* Fix test again

* Fix tests

* Remove unneeded comment

* Plug in RPC service

* Fix err msg
2020-10-15 18:00:49 +00:00
..
beacon Use Custom SSZ for P2P Types (#7436) 2020-10-14 07:55:28 +00:00
cluster Pagination Added to ListAccounts Validator RPC Call (#7422) 2020-10-03 17:26:39 -05:00
faucet Pagination Added to ListAccounts Validator RPC Call (#7422) 2020-10-03 17:26:39 -05:00
migration Eth2 API: Implement block endpoints (#7433) 2020-10-15 18:00:49 +00:00
slashing Pagination Added to ListAccounts Validator RPC Call (#7422) 2020-10-03 17:26:39 -05:00
testing Pagination Added to ListAccounts Validator RPC Call (#7422) 2020-10-03 17:26:39 -05:00
validator/accounts Resolve Web UI Beta Testing Bugs (#7471) 2020-10-10 02:07:28 +00:00
BUILD.bazel Template based protobuf parameters for ssz configurations (#3062) 2019-07-24 22:03:05 -04:00
README.md Remove proto/sharding and move slashing to own dir (#4332) 2019-12-20 21:47:00 -06:00
ssz_proto_library.bzl Update to v0.12 (#5614) 2020-06-09 15:40:48 -07:00

Ethereum Serenity Protocol Buffers

This package defines common protobuf messages and services used by Ethereum Serenity clients. Following the structure of:

proto/
  beacon/
    db/
    p2p/
      v1/
    rpc/
      v1/
  cluster/
  slashing/
  testing/

We specify messages available for p2p communication common to beacon chain nodes and sharding clients.

For now, we are checking in all generated code to support native go dependency management. The generated pb.go files can be derived from bazel's bin directory.

For example, when we build the testing go proto library bazel build //proto/testing:ethereum_testing_go_proto there is a pb.go generated at bazel-bin/proto/testing/linux_amd64_stripped/ethereum_testing_go_proto\~/github.com/prysmaticlabs/prysm/proto/testing/test.pb.go. This generated file can be copied, or you can use you protoc locally if you prefer.