From 9928914ecd43fb41dbd474033fbcbe29337fd8b1 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Thu, 12 Apr 2018 15:12:29 +1000 Subject: [PATCH] Add some peer source comments --- connection.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connection.go b/connection.go index 73c4710f..e07d2f6a 100644 --- a/connection.go +++ b/connection.go @@ -31,8 +31,8 @@ type peerSource string const ( peerSourceTracker = "Tr" peerSourceIncoming = "I" - peerSourceDHTGetPeers = "Hg" - peerSourceDHTAnnouncePeer = "Ha" + peerSourceDHTGetPeers = "Hg" // Peers we found by searching a DHT. + peerSourceDHTAnnouncePeer = "Ha" // Peers that were announced to us by a DHT. peerSourcePEX = "X" ) -- 2.50.0