Onionr/onionr/communicatorutils
Arinerron 9a35619a0b Fix whitespace issue in bootstrap 2019-10-24 23:52:26 -07:00
..
downloadblocks moved block related files to onionrblocks 2019-09-21 18:49:24 -05:00
uploadblocks fix online peers having zero division error, added stress test insertion 2019-10-19 03:47:24 -05:00
README.md corrected permissions again 2019-06-16 13:20:54 -05:00
__init__.py corrected permissions again 2019-06-16 13:20:54 -05:00
announcenode.py Delegate code in onionrproofs 2019-08-13 19:12:45 -05:00
connectnewpeers.py Fix whitespace issue in bootstrap 2019-10-24 23:52:26 -07:00
cooldownpeer.py progress in removing core 2019-07-18 12:40:48 -05:00
daemonqueuehandler.py added run time test framework 2019-09-26 02:43:03 -05:00
deniableinserts.py progress in removing core 2019-07-18 18:07:18 -05:00
housekeeping.py moved block related files to onionrblocks 2019-09-21 18:49:24 -05:00
lookupadders.py fix some bytes for uploading 2019-09-12 01:28:20 -05:00
lookupblocks.py moved block related files to onionrblocks 2019-09-21 18:49:24 -05:00
netcheck.py improved network stability by having automatic tor restarts 2019-08-09 20:04:56 -05:00
onionrcommunicatortimers.py added install readme disclaimer and don't log max thread messages to terminal 2019-10-17 17:04:57 -05:00
proxypicker.py lots of web ui work 2019-10-11 04:28:43 -05:00
restarttor.py improved network stability by having automatic tor restarts 2019-08-09 20:04:56 -05:00
servicecreator.py moved block related files to onionrblocks 2019-09-21 18:49:24 -05:00

README.md

communicatorutils

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

Files:

announcenode.py: Uses a communicator instance to announce our transport address to connected nodes

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

cooldownpeer.py: randomly selects a connected peer in a communicator and disconnects them for the purpose of security and network balancing.

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

deniableinserts.py: insert fake blocks with the communicator for plausible deniability

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

housekeeping.py: cleans old blocks and forward secrecy keys

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

lookupblocks.py: lookup new blocks from connected peers from the communicator

netcheck.py: check if the node is online based on communicator status and onion server ping results

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.

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