Onionr/onionr/communicatorutils
Kevin Froman 737719cb54 boilerplate and comment changes, added first subdirectory readme (for communicatorutils) 2019-06-12 01:44:15 -05:00
..
README.md boilerplate and comment changes, added first subdirectory readme (for communicatorutils) 2019-06-12 01:44:15 -05:00
__init__.py refactored communicator a bit 2019-05-07 22:28:06 -05:00
connectnewpeers.py boilerplate and comment changes, added first subdirectory readme (for communicatorutils) 2019-06-12 01:44:15 -05:00
daemonqueuehandler.py fix config setup not returning bool for existing data directory 2019-05-12 09:21:17 -05:00
downloadblocks.py boilerplate and comment changes, added first subdirectory readme (for communicatorutils) 2019-06-12 01:44:15 -05:00
lookupadders.py boilerplate and comment changes, added first subdirectory readme (for communicatorutils) 2019-06-12 01:44:15 -05:00
lookupblocks.py boilerplate and comment changes, added first subdirectory readme (for communicatorutils) 2019-06-12 01:44:15 -05:00
onionrcommunicatortimers.py boilerplate and comment changes, added first subdirectory readme (for communicatorutils) 2019-06-12 01:44:15 -05:00
onionrdaemontools.py boilerplate and comment changes, added first subdirectory readme (for communicatorutils) 2019-06-12 01:44:15 -05:00
proxypicker.py boilerplate and comment changes, added first subdirectory readme (for communicatorutils) 2019-06-12 01:44:15 -05:00
servicecreator.py boilerplate and comment changes, added first subdirectory readme (for communicatorutils) 2019-06-12 01:44:15 -05:00
uploadblocks.py boilerplate and comment changes, added first subdirectory readme (for communicatorutils) 2019-06-12 01:44:15 -05:00

README.md

communicatorutils

The files in this submodule handle various subtasks and utilities for the onionr communicator.

Files:

connectnewpeers.py: takes a communicator instance and has it connect to as many peers as needed, and/or to a new specified peer.

daemonqueuehandler.py: checks for new commands in the daemon queue and processes them accordingly.

downloadblocks.py: iterates a communicator instance's block download queue and attempts to download the blocks from online peers

lookupadders.py: ask connected peers to share their list of peer transport addresses

onionrcommunicataortimers.py: create a timer for a function to be launched on an interval. Control how many possible instances of a timer may be running a function at once and control if the timer should be ran in a thread or not.

onionrdaemontools.py: contains the DaemonTools class which has a lot of etc functions useful for the communicator. Deprecated.

proxypicker.py: returns a string name for the appropriate proxy to be used with a particular peer transport address.

servicecreator.py: iterate connection blocks and create new direct connection servers for them.

uploadblocks.py: iterate a communicator's upload queue and upload the blocks to connected peers