onionr/src/communicator
Kevin Froman f7e2a94502 flake8 refactors get onlinePeers 2019-12-18 04:08:33 -06:00
..
onlinepeers flake8 refactors get onlinePeers 2019-12-18 04:08:33 -06:00
uploadqueue renamed onionr dir and bugfixes/linting progress 2019-11-21 02:23:58 -06:00
README.md renamed onionr dir and bugfixes/linting progress 2019-11-21 02:23:58 -06:00
__init__.py var for netCheckTimer and commented code removal 2019-12-18 04:06:52 -06:00
bootstrappeers.py renamed onionr dir and bugfixes/linting progress 2019-11-21 02:23:58 -06:00
peeraction.py renamed onionr dir and bugfixes/linting progress 2019-11-21 02:23:58 -06: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