Onionr/src/communicator
2020-08-08 12:38:14 -05:00
..
daemoneventhooks More decoupling, removed unnecessary announceCache 2020-07-26 21:45:17 -05:00
onlinepeers Fixed some broken things from communicator decoupling 2020-08-08 12:38:14 -05:00
uploadqueue Moved blocksToUpload to KV to further reduce coupling 2020-07-26 19:02:39 -05:00
__init__.py Fixed some broken things from communicator decoupling 2020-08-08 12:38:14 -05:00
bootstrappeers.py work on removing communicator 2020-07-30 20:15:36 -05:00
peeraction.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

Onionr Communicator

Onionr communicator is the Onionr client. It "connects" to remote Onionr peers and does things such as:

  • Finding new peers
  • Uploading blocks
  • Downloading blocks
  • Daemon maintenance/housekeeping

Files

  • __init__.py: Contains the main communicator code. Inits and launches the communicator and sets up the timers
  • peeraction.py: contains a function to send commands to remote peers
  • bootstrappers.py: adds peers from the bootstrap list to the communicator to try to connect to them
  • onlinepeers: management of the online peer pool for the communicator