-
Notifications
You must be signed in to change notification settings - Fork 57
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: experimental incentivize store protocol #1961
Comments
No deadline set as this is highly experimental task. |
An observation extracted from a discussion in the research repo. Storing nodes are supposed to take on risk without being sure that they will get reimbursed in the future. A full node must store non-ephemeral messages as they arrive, in the hope that someone, sometime in the future will be interested in them. This is akin to PoW mining where miners expend energy first hoping to get rewarded later, so that's not to say this cannot work, but it's something I'd keep in mind. |
Weekly Update
|
@alrevuelta should we move this issue to the research repo? |
@fryorcraken We have a tracker for the idea here waku-org/research#21 but I would like to keep this one in nwaku, since this issue relates to a nwaku implementation with code, implementing the idea of waku-org/research#21 |
Weekly Update
|
Weekly Update
|
Weekly Update
|
Weekly Update
|
Weekly Update achieved: gathered more feedback for the incentivization outline, edited with a more practical focus |
Weekly Update
|
Weekly Update
|
Weekly Update
|
Weekly Update
|
Weekly Update
|
Weekly Update
|
Note that we may want to continue work on this POC for push-as-a-service rather than store: #2593 |
Closing this issue, as I've copied relevant parts and simplified for a new POC plan here: #2847 |
Context
The goal of this issue is to create a proof of concept branching out nwaku, with the following new feature. Incentivize
store
protocol requests requiring a proof of payment ofx
tokens to an address in order to be processed. After successfully proving that the payment was done, then the node will return the requested messages. Note that this is intended to stay as an experimental branch, and most likely not merged into master in the short term.For context, see this.
Store protocol is one of waku's service protocols, based on a simple
req/resp
protocol where a node (full or light) requests the messages of a given topic from start/end dates and gets them in return. The implementation is here, which is triggered when a node receives the request.Feature
Some informal requirements. Let
requester
be the node that requests messages from store andresponder
the full node that stores messages and offers store capabilities:Some notes:
rawTx
, using thedata
field to include the invoice id explained above.The deliverable would be a branch with such feature, where multiple
wakunode2
instances can be run + interconnected inrequester
andresponder
mode. It must include the instruction (cli commands, etc) on how to see this feature live, where a node pays some ETH in return of a message.The text was updated successfully, but these errors were encountered: