-
Notifications
You must be signed in to change notification settings - Fork 0
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
Changes to address issues while integrating with nwaku #16
base: feature/mix-interface
Are you sure you want to change the base?
Conversation
1bc4c92
to
16abc7d
Compare
There is some overlap between the changes in this PR and this branch currently in progress. This branch also includes additional features such as:
|
awesome, Thanks! |
@AkshayaMani are you planning to abstract out the protocol codec dependency mix has with the protocols that want to use it? Lines 9 to 15 in ba1125b
also fixed a bug in readLP in ea38fb1 |
We can't embed the protocol codec directly in the Sphinx packet, as the embedded codecs must be of fixed size to keep the packet size constant. Additionally, since these codecs are included in every message, they must not impact message size and must be bandwidth efficient. Therefore, for now, the protocol codec dependency must remain as is to meet these constraints.
The exit abstraction (that contains the |
I understand that we can't embed the whole codec directly. can we instead take an approach where mix repo maintains list of protocol ids to codecs and hardcode them rather than creating a dependency like this?
ah, got it..will rerun my poc after rebasing with these new changes. |
8190702
to
2434c94
Compare
@AkshayaMani i had rebased to this branch and with some changes was able to achieve lightpush POC where exit nodes delivers message to a different lightpush node. cc @jm-clius |
… node message delivery fails
6b4787e
to
0630713
Compare
7872b53
to
0639442
Compare
Started integrating the #15 branch with nwaku and noticed some issues. Also realized that we may have to change the way protocol interfaces are provided for integration. This PR covers all such changes. It is still in progress.
Integration is happening in https://github.com/waku-org/nwaku/tree/feat/mix-poc as part of waku-org/nwaku#3284
mix_protocol.nim
or any other file.