prysm-pulse/proto
Alon Muroch a04b7c2e4f
Slasher highest source target (#7604)
* WIP - slasher highest attestation start

* fixed previous

* highest source and target

* highest attestation cache

* cleanup

* persist + fixes

* PR fixes and cleanup

* slashing proto

* highest att. api

* cleanup + tests

* increased highest att. cache to 300K

* removed highest att. api (for a separate PR)

* fixed linting

* bazel build fix

* highest att. kv test

* slasher highest att. test + purge + fix on eviction persist performance

* cleanup + linting

* linting + test fixes

* bazel gazelle run

* PR fixes

* run goimports

* go mod tidy

* ineffectual assignment fix

* run gazelle

* bazel gazelle run

* test fixes

* linter fix

* Apply suggestions from code review

Co-authored-by: Shay Zluf <thezluf@gmail.com>

* goimports run

* cache tests

* A bunch of small fixes

* gazelle fix + gofmt

* merge fixes

* kv ordering fix

* small typos and text fixes

* capital letter fix

Co-authored-by: Shay Zluf <thezluf@gmail.com>
2020-10-26 14:15:42 +02: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 Slasher highest source target (#7604) 2020-10-26 14:15:42 +02:00
testing Pagination Added to ListAccounts Validator RPC Call (#7422) 2020-10-03 17:26:39 -05:00
validator/accounts Fix Web UI Integration With Prysm Beta (#7591) 2020-10-21 17:32:00 -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.