-
Notifications
You must be signed in to change notification settings - Fork 42
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
Extract Waku Relay from @waku/core
#1151
Comments
Do you mean that Exposing Is it possible to flag the release with a "breaking change" label, and inform Railgun? Please share if there are any alternative solutions in mind. WIP PR: #1316 |
I would expect Then, we can remove
It would be best if no library depend on You have already moved I understand that We already know that Knowing that, then doing the phased approach and leaving the
Looks like the phasing remains the best approach. |
I was under the impression that this was a pre-requisite as mentioned in the original issue description:
But according to the following, it makes sense. 👍
|
This is a change request
Problem
Waku Relay is based on libp2p-gossipsub. We use
@chainsafe/libp2p-gossipsub
.This dependency has some issues:
Contains cjs files not supported by React (actually not relevant)Also, we currently recommend the usage of light push/filter/store in browser clients.
Relay in the browser has known scalability issues: #905.
Also, relay does not provide true anonymity, which is why protocols such as dandelion++ are being studied:
Proposed Solutions
Extract Waku Relay from
@waku/core
in a@waku/relay
package.For now, we can keep this in the same repo (js-waku). We can move it outside if it create developer experience friction.
Also move the
createRelayNode
function from@waku/create
to@waku/relay
.End result should be that neither
@waku/core
nor@waku/create
depend on@chainsafe/libp2p-gossipsub
.Do a deprecation phase as railgun use relay.
@waku/relay
but@waku/create
still depends on it and exposecreateRelayNode
, deprecatecreateRelayNode
in@waku/create
in JSDoc comment.createRelayNode
to@waku/relay
The text was updated successfully, but these errors were encountered: