-
Notifications
You must be signed in to change notification settings - Fork 58
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: Add incentivization PoC for RLNaaS in Lightpush #3166
Conversation
You can find the image built from this PR at
Built from 53aea7f |
24f9aa8
to
3bf670b
Compare
@s-tikhomirov - is there anything blocking this PR? |
Good question. On the one hand, there are still things to implement before this can be considered a fully-fledged PoC. For example, the properties of a transaction that is checked for "eligibility" are now simply hard-coded. In the final vision, those should be node-specific and stored in a config file or something like that (and I'd have to figure out where such files should be located, how to manage them, etc). On the other hand, the current version is more or less self-contained, and in the spirit of merging things incrementally, I could see this PR at least considered for review. For context: the overall vision of this PoC is that a client would attach a txid as proof of payment alongside its Lightpush request, and the server would check for eligibility of that txid. By eligibility we mean that the transaction:
Here is what is implemented now:
These could be the next steps:
Given this, do you think it makes sense to consider this PR for review as it stands now? @jm-clius , WDYT? |
Without having looked at the code itself yet, based on your description I would certainly suggest opening for review - or even selecting a smaller increment that illustrates a specific function and creating a PR for that. This way we can show the POC growing, remain clear about next steps and what is WIP, while making the turnaround from PR to merge shorter due to the easier review burden on nwaku contributors. |
877db49
to
fe89f5d
Compare
fe89f5d
to
f32ee87
Compare
f32ee87
to
96fbdaf
Compare
96fbdaf
to
13144bc
Compare
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.
Amazing work! Thanks so much! 🤩
I added some questions and comments, please let me know if I'm missing anything in any of them :)
I also see that the Lint CI job is failing, please try installing the latest version of https://github.com/arnetheduck/nph/tree/latest and integrate it with your IDE (let me know if you have any issues with it, I can help out!)
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.
Thanks for it!
I just added some nitpick comment that I hope you find useful
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.
Thanks! Added a couple of initial comments to address below.
b3890ca
to
d865b1a
Compare
35e2479
to
ae9fb73
Compare
Co-authored-by: gabrielmer <[email protected]>
Co-authored-by: Ivan FB <[email protected]>
Co-authored-by: Ivan FB <[email protected]>
Co-authored-by: Ivan FB <[email protected]>
Co-authored-by: Ivan FB <[email protected]>
Co-authored-by: Ivan FB <[email protected]>
Co-authored-by: Ivan FB <[email protected]>
Co-authored-by: Ivan FB <[email protected]>
4d8173f
to
56ea04d
Compare
Btw, useful to add links to the associated deliverable in the PR description: waku-org/pm#245 |
Description
This WIP PR implements a PoC for light protocol incentivization as outlined in:
Associated deliverable: waku-org/pm#245
Changes
Changes planned for future PRs