From: Matt Joiner Date: Thu, 12 Apr 2018 05:12:29 +0000 (+1000) Subject: Add some peer source comments X-Git-Tag: v1.0.0~150 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=9928914ecd43fb41dbd474033fbcbe29337fd8b1;p=btrtrc.git Add some peer source comments --- 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" )