PyBitmessage/src/tests
Peter Surda ca567acab3
Put uploads into a separate thread
- instead of being processed in the ReceiveQueue thread, uploads are now done
  in a dedicated thread. Only the parsing is done in ReceiveQueue thread.
- the UploadThread is modelled based on the DownloadThred, but simpler.
- it checks for intersection attack, eliminates duplicates and restricts the
  write buffer size to 2MB (may still grow slightly higher if too many big
  objects are requested, but the absolute limit appears to be about 4.5MB in the
  worst case scenario).
- the restriction of the write buffer may cause some upload throttling (to
  about 2MB per second per connection), but can be optimised later
- fixes #1414
2018-12-20 20:34:01 +01:00
..
__init__.py Basic API tests and simple apinotify handler 2018-10-22 17:18:22 +03:00
apinotify_handler.py Style fixes and docstrings for tests 2018-10-22 17:18:23 +03:00
core.py e417b62 allows to remove sleep from cleaner test 2018-10-22 17:18:25 +03:00
test_api.py Minimal test for clientStatus consistency 2018-11-01 16:52:33 +02:00
test_config.py Test case for config, not runs pybitmessage yet 2018-10-22 17:18:24 +03:00
test_process.py Put uploads into a separate thread 2018-12-20 20:34:01 +01:00