Expand description
KitsuneP2p Wire Protocol Encoding Decoding
Structs§
- Fire-and-forget broadcast message. uses low-level notify, not request
- “Call” to the remote.
- “Call” response from the remote.
- “DelegateBroadcast” to the remote. Remote should in turn connect to nodes in neighborhood, and call “Notify” per broadcast algorithm. uses low-level notify, not request
- Failure
- Request the peer send op data. This is sent as a fire-and-forget Notify message. The “response” is “PushOpData” below.
- Gossip op with opaque data section, to be forwarded to gossip module. uses low-level notify, not request
- MetricsExchangeMessage
- Ask a remote node if they know about a specific agent
- Response to a peer get. If the agent isn’t known, None will be returned.
- Query a remote node for peers holding or nearest to holding a u32 location.
- Response to a peer query. May be empty if no matching agents are known.
- Nodes can just send peer info without prompting. Notably they may want to send their own peer info to prevent being inadvertantly blocked.
- This is a fire-and-forget “response” to the fire-and-forget “FetchOp” request, also sent via Notify.
- An individual op item within a “PushOpData” wire message.
- Type used for content data of wire messages.
Enums§
- Enum containing the individual metric exchange messages used by clients
- KitsuneP2p Wire Protocol Top-Level Enum.