PyBitmessage-2021-04-27/src/network
Peter Surda a0bbd21efc
Add ratings to peers
- outbound peers now have a rating
- it's also shown in the network status tab
- currently it's between -1 to +1, changes by 0.1 steps and uses a
hyperbolic function 0.05/(1.0 - rating) to convert rating to
probability with which we should connect to that node when randomly
chosen
- it increases when we successfully establish a full outbound connection
to a node, and decreases when we fail to do that
- onion nodes have priority when using SOCKS
2017-07-05 09:17:01 +02:00
..
__init__.py changes needed to get current code to run 2017-02-25 00:06:04 -06:00
addrthread.py AddrThread 2017-07-05 08:57:44 +02:00
advanceddispatcher.py Remove stack depth warnings 2017-06-24 12:19:19 +02:00
announcethread.py Code quality improvements 2017-06-24 12:13:35 +02:00
asyncore_pollchoose.py Code quality improvements 2017-06-24 12:13:35 +02:00
bmobject.py Object validator trigger moved 2017-06-24 12:21:06 +02:00
bmproto.py Add ratings to peers 2017-07-05 09:17:01 +02:00
connectionchooser.py Add ratings to peers 2017-07-05 09:17:01 +02:00
connectionpool.py Add ratings to peers 2017-07-05 09:17:01 +02:00
downloadqueue.py Big Asyncore update 2017-05-24 16:51:49 +02:00
downloadthread.py Code quality improvements 2017-06-24 12:13:35 +02:00
http-old.py New network subsystem, WIP 2017-03-10 23:11:57 +01:00
http.py Asyncore update (WIP) 2017-04-16 18:27:15 +02:00
httpd.py New network backend (WIP, not integrated) 2016-12-01 16:48:04 +01:00
https.py Fixes and refactoring 2017-01-11 17:00:00 +01:00
invthread.py New class multiqueue 2017-06-27 13:25:12 +02:00
networkthread.py Asyncore updates 2017-06-21 12:16:33 +02:00
node.py Big Asyncore update 2017-05-24 16:51:49 +02:00
objectracker.py Asyncore updates 2017-06-21 12:16:33 +02:00
proxy.py Asyncore proxy fixes 2017-06-24 12:23:56 +02:00
receivequeuethread.py Remove stack depth warnings 2017-06-24 12:19:19 +02:00
socks4a.py Reduce severity of socks connectivity errors 2017-07-05 09:07:00 +02:00
socks5.py Reduce severity of socks connectivity errors 2017-07-05 09:07:00 +02:00
stats.py Network status updates 2017-06-24 12:16:12 +02:00
tcp.py Add ratings to peers 2017-07-05 09:17:01 +02:00
tls.py TLS updates 2017-06-24 12:18:15 +02:00
udp.py Code quality improvements 2017-06-24 12:13:35 +02:00
uploadqueue.py Big Asyncore update 2017-05-24 16:51:49 +02:00