Onionr/src/communicator
2020-01-03 04:14:04 -06:00
..
daemoneventhooks added new daemon events files 2020-01-01 20:07:34 -06:00
onlinepeers * made api servers lint compliant 2019-12-20 02:37:12 -06:00
uploadqueue delete upload memory file file on shutdown if upload queue is empty 2020-01-03 04:14:04 -06:00
__init__.py made communicator init have better lint compliance 2019-12-20 02:59:27 -06:00
bootstrappeers.py minor bug fixes and linting improvements 2019-12-23 01:51:24 -06:00
peeraction.py minor bug fixes and linting improvements 2019-12-23 01:51:24 -06: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