lighthouse/beacon_node/eth2_libp2p
blacktemplar a0634cc64f Gossipsub topic filters (#1767)
## Proposed Changes

Adds a gossipsub topic filter that only allows subscribing and incoming subscriptions from valid ETH2 topics.

## Additional Info

Currently the preparation of the valid topic hashes uses only the current fork id but in the future it must also use all possible future fork ids for planned forks. This has to get added when hard coded forks get implemented.

DO NOT MERGE: We first need to merge the libp2p changes (see https://github.com/sigp/rust-libp2p/pull/70) so that we can refer from here to a commit hash inside the lighthouse branch.
2020-10-14 10:12:57 +00:00
..
src Gossipsub topic filters (#1767) 2020-10-14 10:12:57 +00:00
tests Updates the message-id according to the Networking Spec (#1752) 2020-10-14 06:51:58 +00:00
Cargo.toml Gossipsub topic filters (#1767) 2020-10-14 10:12:57 +00:00