aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/peer/keepalive.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-30 17:39:23 +0000
committertv <tv@krebsco.de>2026-11-30 17:39:23 +0000
commit93defc68f9b99da921f4746e91e5cee9e6e3f1b9 (patch)
treeb38f06c630c044f2c608ca321b1b73517bae5ea6 /src/swarm/peer/keepalive.rs
parent6ca6a97f5f9864c971c979c2c1758071a88635d0 (diff)
swarm: a node says to each peer the kind that peer holds, of those it holds
A node holds one kind of document, or, to come, its store in both (Holding::kinds, of_both). The kind a peer's handshakes say is kept with the peer, where the node holds it too, and is what the node says to it in turn; to a peer that said none yet, a node of more than one kind says each in turn, HELLO by HELLO, until one is answered. A node of one kind says and takes that one, as before.
Diffstat (limited to 'src/swarm/peer/keepalive.rs')
0 files changed, 0 insertions, 0 deletions