prysm-pulse/proto
terence tsao 49549f4687
ListBalances for validator RPC (#6975)
* DB: add block roots test

* Node: register RPC service

* RPC: access to client service

* Client: add balances and pubkeys -> indices getters

* Update validator/client/metrics.go

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>

* Lint and feedbacks

* Fix lock to prevent a run time panic

* Fixes existing tests

* Validator: add mock for testing

* Validator: Add pubkeys to indices getter

* RPC: tests tests tests

* Lint

* Lint

* Lint

* Lint

* Lint

* Gazelle

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2020-08-12 18:33:15 -05:00
..
beacon ListBalances for validator RPC (#6975) 2020-08-12 18:33:15 -05:00
cluster Add debug endpoint for individual vote status (#6166) 2020-06-08 21:37:56 -05:00
faucet Refactor dependencies, make Prysm "go gettable" (#6053) 2020-05-31 14:44:34 +08:00
slashing No sig slasher rpc (#6174) 2020-06-11 18:50:12 +00:00
testing Rm unused HashTreeRootState (#6697) 2020-07-23 17:19:05 -05:00
validator/accounts/v2 ListBalances for validator RPC (#6975) 2020-08-12 18:33:15 -05: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.