This repository has been archived on 2024-12-04. You can view files and clone it, but cannot push or open issues or pull requests.
PyBitmessage-2024-12-04/src/network
Peter Surda ca7becb921
Download fixes
- in corner cases, download request could have contained an incorrect
  request length. I haven't actually checked if this can be triggered
  though
- wait for downloading until anti intersection delay expires. Doesn't
  necessarily mean that it will always avoid peer's anti intersection
  delay, but it's close enough
- tracks last time an object was received. If it was too long time ago,
  reset the download request queue. This avoid situations like when a
  request gets ignored during the anti intersection delay, but it will
  keep thinking there are still pending requests as long as not all
  missing objects have been requested. This caused staggered download
  (request 1000 items, wait 1 minute, request 1000 more, wait another
  minute, ...)
- with these fixes, you should end up downloading as fast as your
  network and CPU allow
- best tested with trustedpeer
2018-04-03 19:24:07 +02:00
..
__init__.py changes needed to get current code to run 2017-02-25 00:06:04 -06:00
addrthread.py Minor multiqueue updates 2017-10-19 08:56:48 +02:00
advanceddispatcher.py Separate protocol processing exceptions 2018-02-19 21:27:38 +01:00
announcethread.py Peer discovery updates 2017-08-09 17:34:47 +02:00
asyncore_pollchoose.py replace all random.xxx with helper random function 2018-03-21 19:26:27 +05:30
bmobject.py Dandelion update 2018-02-03 11:46:39 +01:00
bmproto.py replace all random.xxx with helper random function 2018-03-21 19:26:27 +05:30
connectionchooser.py replace all random.xxx with helper random function 2018-03-21 19:26:27 +05:30
connectionpool.py replace all random.xxx with helper random function 2018-03-21 19:26:27 +05:30
dandelion.py Bugfixes 2018-02-09 00:49:08 +01:00
downloadthread.py Download fixes 2018-04-03 19:24:07 +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 Dandelion update 2018-02-03 11:46:39 +01:00
networkthread.py Network thread shutdown iterator fix 2018-01-31 21:09:36 +01:00
node.py Big Asyncore update 2017-05-24 16:51:49 +02:00
objectracker.py Download fixes 2018-04-03 19:24:07 +02:00
proxy.py Add proxy authentication 2018-02-18 20:53:16 +01:00
receivequeuethread.py Separate protocol processing exceptions 2018-02-19 21:27:38 +01:00
socks4a.py Socket closing changes 2017-10-19 09:08:05 +02:00
socks5.py Socks5 parsing fix 2018-02-26 20:04:57 +01:00
stats.py Pending download stats optimisations 2017-10-20 23:11:33 +02:00
tcp.py Memory leak (kind of) fix 2018-04-01 11:39:02 +02:00
tls.py Asyncore update 2017-07-08 06:54:25 +02:00
udp.py CPU hogging fix 2018-01-22 22:18:01 +01:00