waku-org/nwaku

chore: filter peers stored in cache by cluster-id in peer-exchange

Closed this issue · 1 comments

Background

This is inspired by waku-org/go-waku#1139

If the cluster-id is specified, then the waku peer exchange protocol should only consider peers with that given cluster-id.

Regarding cluster-id not specified, then I guess filtering should not be applied. However, it may make more sense to make it impossible for the cluster-id to not be specified.