Peter Surda
2a165380bb
Logic borrowed from bitcoin, see CNetAddr::GetGroup() in src/netaddress.cpp Simplified, so may not work fully identically but for our purposes it's good enough. Won't connect to more than one host from a /16 subnet on IPv4 and a /32 subnet on IPv6. |
||
---|---|---|
.. | ||
__init__.py | ||
addrthread.py | ||
advanceddispatcher.py | ||
announcethread.py | ||
asyncore_pollchoose.py | ||
bmobject.py | ||
bmproto.py | ||
connectionchooser.py | ||
connectionpool.py | ||
dandelion.py | ||
downloadthread.py | ||
http_old.py | ||
http.py | ||
httpd.py | ||
https.py | ||
invthread.py | ||
networkthread.py | ||
node.py | ||
objectracker.py | ||
proxy.py | ||
randomtrackingdict.py | ||
receivequeuethread.py | ||
socks4a.py | ||
socks5.py | ||
stats.py | ||
tcp.py | ||
threads.py | ||
tls.py | ||
udp.py | ||
uploadthread.py |