* Removed unnecessary functions such as those that just wraps a standard library function (e.g. '__random_bytes()' in SybilNode), and those that are wrongly abstracted (e.g. `cleanup` in __main__.py) * Created `__build_GET_PEERS_query()` and `__build_ANNOUNCE_PEER()` in SybilNode to eliminate the cost of calling `bencode.dumps()` in these critical functions. * Added some more comments to explain the rationale behind some decisions in-place. * Improved our still-primitive congestion control support for BSD-based OSes, including OS X. |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
bencode.py | ||
bittorrent.py | ||
constants.py | ||
dht.py | ||
persistence.py |