waku-org / go-waku

Go implementation of Waku v2 protocol
https://waku.org/
Other
120 stars 43 forks source link

feat(discv5): filter peer by capability #863

Closed chaitanyaprem closed 1 year ago

chaitanyaprem commented 1 year ago

Problem

Discv5 filtering doesn't follow the RFC and filter ENR caps. Refer https://github.com/waku-org/nwaku/issues/2179

Suggested solution

Add to the filtering a check for empty caps.

Follow the RFC https://rfc.vac.dev/spec/31/#usage-1

Acceptance criteria

chaitanyaprem commented 1 year ago

Weekly Update