You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using wakuPeerExchangeDiscovery with a wrong(non-existent or empty) pubsubtopicArray the peerExchange still works and node are discovered. Peer Exchange does not take the passed pubsub topics into consideration.
Solution
Instead of saving all peers to the peer store, discard the peers that are not on the configured shard.
The text was updated successfully, but these errors were encountered:
Right!
Pubsub topic is required to satiate BaseProtocol and is not taken into consideration while finding/saving peers, as peer exchange finds all peers and then Connection Manager ignores peers according to the pubsub topic.
We can not save peers in the peer store if they are not relevant to the configured pubsub topics
This is a bug report
Problem
When using
wakuPeerExchangeDiscovery
with a wrong(non-existent or empty) pubsubtopicArray the peerExchange still works and node are discovered. Peer Exchange does not take the passed pubsub topics into consideration.Solution
Instead of saving all peers to the peer store, discard the peers that are not on the configured shard.
The text was updated successfully, but these errors were encountered: