Justin Li
|
da46ef8c8a
|
tracker: Return announcing peer if there are no others to avoid an empty peers field
|
2015-02-28 00:56:45 -05:00 |
|
Justin Li
|
87c68f1973
|
2015 ✨
|
2015-01-01 12:02:25 -05:00 |
|
Jimmy Zelinskie
|
d754b5b376
|
Return PeerMap by reference.
In accordance with `go vet`, locks should only be returned by reference.
|
2014-10-28 12:28:51 -04:00 |
|
Jimmy Zelinskie
|
deb44da5f0
|
add missing json struct tag
|
2014-09-29 15:14:46 -04:00 |
|
Paul Saab
|
2b8dec07fe
|
Use atomics to track peermap size
|
2014-09-24 16:24:36 -07:00 |
|
Jimmy Zelinskie
|
b910fdabf5
|
Organize peers by subnet.
This commit restructures PeerMaps to be a map from Subnet to
PeerID to Peer. This reduces the complexity require to gather peers from
the same subnet.
|
2014-09-23 23:00:50 -04:00 |
|
Jimmy Zelinskie
|
6a96245d90
|
AppendPeers now uses readlock.
|
2014-09-15 22:14:27 -04:00 |
|
Justin Li
|
976a983aa7
|
go fmt [ci skip]
|
2014-09-03 10:18:26 -04:00 |
|
Cooper Lees
|
26de6d2e9c
|
Respect a clients AF Optional Support - config driven
|
2014-08-21 07:11:35 -07:00 |
|
Jimmy Zelinskie
|
fc18028796
|
Fix Purge reporting all peers as Seeders
PeerMaps now are constructed with a boolean value that tells the map
whether they are hosting seeders or leechers.
|
2014-08-05 06:57:48 -04:00 |
|
Jimmy Zelinskie
|
01fa778ce2
|
JSON Encoding for PeerMaps
|
2014-08-04 07:05:13 -04:00 |
|
Jimmy Zelinskie
|
9e45f77efe
|
Create peermap.go, add documentation
|
2014-08-04 06:37:31 -04:00 |
|