-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: integrate new filter protocol, other improvements #1637
Conversation
Update: although tests pass locally, they fail during CI due to a segfault getting triggered on the underlying peerStore attempting to access its |
…grate # Conflicts: # waku/v2/node/waku_node.nim
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whitespace changes only. Hide whitespace in GH settings to ignore this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hide whitespace in GH settings to view only effective changes in this file.
Update: in order to get rid of segfaults and corrupted memory I had to
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! new filter protocol looking great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ✅ 💯
What is in this PR?
This PR does the following:
What about the legacy filter protocol?
For now, when filter is configured, the node will mount both the new and legacy filter protocols. This is to maintain backwards compatibility until filter clients have dogfooded and switched to the new filter protocol. The idea is to remove all legacy code in the future.
What about the nwaku filter client?
Note that the new filter client has not been integrated yet. Since nwaku is rarely used as a filter client, this client protocol can be integrated and the Filter APIs updated once dogfooding has progressed without supporting the legacy filter client.