-
Notifications
You must be signed in to change notification settings - Fork 15
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
RFC: Extend STORE protocol to give meta information about capabilities in-protocol #355
Comments
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 |
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:
|
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. |
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 |
The specs says |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
The text was updated successfully, but these errors were encountered: