summaryrefslogtreecommitdiffstats
path: root/src/swarm/pair.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/swarm/pair.rs')
-rw-r--r--src/swarm/pair.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/swarm/pair.rs b/src/swarm/pair.rs
index c1a196b..0d45b32 100644
--- a/src/swarm/pair.rs
+++ b/src/swarm/pair.rs
@@ -1,5 +1,5 @@
-//! Which side of a pair of nodes leads, for duties only one side needs to do (sending
-//! keepalive PINGs).
+//! Which side of a pair of nodes leads, for what one side needs to start (the first
+//! keepalive; then the two take turns, `PeerState::take_keepalive_due`).
//!
//! Both sides decide on their own, from the two keys alone, and agree. The leader is
//! chosen per pair by one bit of a hash of both keys, not by comparing the keys: a