Replies: 7 comments 4 replies
-
Alice needs to do one history request to Bob to know whether Bob stores the As Also, you make a good point in the problem section:
What does this mean in practical term? I assume that if IMHO, if Alice does not store any data but only supports the STORE protocol as a querying node then I don't believe she should advertise that she supports When Alice connects to Bob:
From this point, it is clear to Alice and Bob who can query the other one for historical data. Finally, if down the line we use |
Beta Was this translation helpful? Give feedback.
-
The solution looks good to me @oskarth! such info re nodes capabilities is also necessary for the FT store protocol where nodes want to retrieve message history from a peer who has been online for a certain time window. I have some suggestions:
|
Beta Was this translation helpful? Give feedback.
-
Great comments! Thanks both. Sounds like we have to do a bit more thinking and investigation on this one to come up with a good synthesis. |
Beta Was this translation helpful? Give feedback.
-
This may fall outside the domain that Waku should have influence over - from libp2p's perspective, if a peer has a certain protocol mounted that protocol should be advertised in the This is not yet clear in my mind, but I'd propose something that will keep "protocols" and "capabilities" semantically separated. A protocol is a type of capability, but "capabilities" is a broader concept. We could even distinguish between "configured" capabilities, e.g. if a node is configured as a store |
Beta Was this translation helpful? Give feedback.
-
The specs says |
Beta Was this translation helpful? Give feedback.
-
Turning this into a discussion instead.
Discussed briefly with Hanno and think this seems reasonable. Basically this acts as an event log, and then you can ask a store node for this information. We can also complement this with an aggregator/view/log compact function, so you can ask for latest state of capabilities for each node. Basically for node A B C announcing capabilities What do people think of this? |
Beta Was this translation helpful? Give feedback.
-
Generic message follows I'm going to go ahead and close this discussion as:
If you feel like this is in error, please create a thread on Vac forum or a new issue. |
Beta Was this translation helpful? Give feedback.
-
Problem
STORE protocol is symmetric, and just knowing a peer is using STORE doesn't tell you much about what they are storing, if anything. The node can primarily be a "server" node or a "client" node.
Proposed solution
There are a few different dimensions of information that are desirable:
This informs a peer with enough data to know if:
Rought sketch for protobufs:
Acceptance criteria
Notes
Adaptive node discussion context: #87
Additionally do similar for FILTER.
cc @staheri14 @jm-clius
also fyi @cammellos re core pov
Beta Was this translation helpful? Give feedback.
All reactions