Onionr/src/communicator
Kevin e00d41f8a9 Moved onlinePeers and announceCache to kv for more decoupling 2020-07-26 15:26:15 -05:00
..
daemoneventhooks * Revert back to hiding blocks even when we have no outgoing connections 2020-06-29 02:29:55 -05:00
onlinepeers Moved onlinePeers to KV to further reduce coupling 2020-07-25 22:28:32 -05:00
uploadqueue switched to upload event api 2020-01-04 06:13:10 -06:00
README.md renamed onionr dir and bugfixes/linting progress 2019-11-21 02:23:58 -06:00
__init__.py Moved onlinePeers and announceCache to kv for more decoupling 2020-07-26 15:26:15 -05:00
bootstrappeers.py minor bug fixes and linting improvements 2019-12-23 01:51:24 -06:00
peeraction.py Moved communicator shutdown over to KV model for more decoupling 2020-07-25 21:36:48 -05:00

README.md

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