status-im / status-protocol-go

Status Protocol implementation in Go
Mozilla Public License 2.0
0 stars 1 forks source link

Don't listen or publish on the old discovery topic #12

Closed cammellos closed 5 years ago

cammellos commented 5 years ago

As a user I don't want to listen to the discovery topic So I don't waste too much bandwidth

Description

For v1 the old discovery topic will not be used anymore, we should keep this behavior for now as we want to still be compatible with pre-v1, but have a toggle (config/flag anything) that disables listening/publishing to this topic. If a client has version 0 of the protocol, we publish instead on the partitioned topic, while for v1 we keep the current behavior (partitioned/negotiated).

Acceptance criteria