prysm-pulse/beacon-chain
Preston Van Loon 07e7e030d9
Update PubSub and include topic filter (#7496)
* Update pubsub and fix topicIDs

* WIP filter

* Add suggested code from @bidlocode

* add tests and fix bugs

* more tests

* Wait until state initialized to accept pubsub filtering

* rename for clarity and clarify comment

* fix test builds

* Autofix issues in 2 files

Resolved issues in the following files via DeepSource Autofix:
1. beacon-chain/p2p/pubsub_filter.go
2. beacon-chain/p2p/pubsub_filter_test.go

* @nisdas pr feedback

* pr feedback and fuzz fix

* Update beacon-chain/p2p/pubsub_filter.go

* Must have protocol suffix

* Must have protocol suffix

* gofmt

* rm test, fix panic

* Fix tests

* Add isInitialized check

* Add a few more tests for better coverage

* cache fork digest, make pubsub filter part of the p2p service

* rename service

* gofmt

* Add comment

* fix

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-16 07:05:40 +00:00
..
blockchain Update PubSub and include topic filter (#7496) 2020-10-16 07:05:40 +00:00
cache More feature flags removal (#7526) 2020-10-14 16:18:40 +00:00
core Update error usage patterns to go1.13+ (#7529) 2020-10-14 17:39:52 +00:00
db Update error usage patterns to go1.13+ (#7529) 2020-10-14 17:39:52 +00:00
flags Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
forkchoice Numeric conversion cleanup (#7465) 2020-10-13 12:43:49 +00:00
gateway Verify interface compliance using typed nil instead of dereferencing and conversion (#7489) 2020-10-10 00:36:48 +00:00
interop-cold-start Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
node Eth2 API: Implement block endpoints (#7433) 2020-10-15 18:00:49 +00:00
operations Add functionality to retrieve all pending items from pools (#7530) 2020-10-14 21:08:24 +00:00
p2p Update PubSub and include topic filter (#7496) 2020-10-16 07:05:40 +00:00
powchain Numeric conversion cleanup (#7465) 2020-10-13 12:43:49 +00:00
rpc Eth2 API: Implement block endpoints (#7433) 2020-10-15 18:00:49 +00:00
state Eth2 API: Implement block endpoints (#7433) 2020-10-15 18:00:49 +00:00
sync Update PubSub and include topic filter (#7496) 2020-10-16 07:05:40 +00:00
BUILD.bazel Add terms of use acceptance requirement (#7527) 2020-10-15 02:05:30 +00:00
main.go Add terms of use acceptance requirement (#7527) 2020-10-15 02:05:30 +00:00
README.md Fix old markdown links (#4603) 2020-01-21 03:30:35 +00:00
usage_test.go Refactor dependencies, make Prysm "go gettable" (#6053) 2020-05-31 14:44:34 +08:00
usage.go Add terms of use acceptance requirement (#7527) 2020-10-15 02:05:30 +00:00

Prysmatic Labs Beacon Chain Implementation

This is the main project folder for the beacon chain implementation of Ethereum Serenity in Golang by Prysmatic Labs. Before you begin, check out our Contribution Guidelines and join our active chat room on Discord or Gitter below:

Discord Gitter

Also, read the latest beacon chain design spec, this design spec serves as a source of truth for the beacon chain implementation we follow at prysmatic labs. Check out the FAQs. Refer this page on why we are combining sharding and casper together.