Onionr/src/communicator/onlinepeers
2020-11-13 08:17:48 +00:00
..
__init__.py renamed onionr dir and bugfixes/linting progress 2019-11-21 02:23:58 -06:00
clearofflinepeer.py added flood fill work, misc bug fixes and removing communicator timers 2020-11-13 08:17:48 +00:00
onlinepeers.py fix onlinepeers decoupling 2020-08-04 08:44:24 -05:00
pickonlinepeers.py Fixed some broken things from communicator decoupling 2020-08-08 12:38:14 -05:00
README.md renamed onionr dir and bugfixes/linting progress 2019-11-21 02:23:58 -06:00
removeonlinepeer.py work on removing communicator 2020-07-30 20:15:36 -05:00

Online Peers

Manages a pool of peers to perform actions with. Since Onionr does not maintain socket connections, it holds a list of peers.

Files

  • __init__.py: exposes some functions to interact with the pool
  • clearofflinepeer.py: Pop the oldest peer in the offline list
  • onlinepeers.py: communicator timer to add new peers to the pool randomly
  • pickonlinepeers.py: returns a random peer from the online pool
  • removeonlinepeer.py: removes a specified peer from the online pool