Onionr/onionr/communicatorutils
Kevin Froman 60d47e1e41 remove utils from netcheck 2019-06-26 00:41:49 -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 Finished removing onionrutils for the most part, except for some possible bugs remaining 2019-06-25 19:15:04 -05:00
connectnewpeers.py OnionrUtils fully removed (but not fully bug free) 2019-06-25 18:07:35 -05:00
cooldownpeer.py OnionrUtils fully removed (but not fully bug free) 2019-06-25 18:07:35 -05:00
daemonqueuehandler.py * further splitting onionrutils into a module 2019-06-23 12:41:07 -05:00
deniableinserts.py * bumped nacl and unpaddedbase32 verison 2019-06-19 01:57:13 -05:00
downloadblocks.py Finished removing onionrutils for the most part, except for some possible bugs remaining 2019-06-25 19:15:04 -05:00
housekeeping.py OnionrUtils fully removed (but not fully bug free) 2019-06-25 18:07:35 -05:00
lookupadders.py * further splitting onionrutils into a module 2019-06-23 12:41:07 -05:00
lookupblocks.py OnionrUtils fully removed (but not fully bug free) 2019-06-25 18:07:35 -05:00
netcheck.py remove utils from netcheck 2019-06-26 00:41:49 -05:00
onionrcommunicatortimers.py * started refactoring onionrusers into a full module instead of a class 2019-06-23 02:00:27 -05:00
proxypicker.py corrected permissions again 2019-06-16 13:20:54 -05:00
servicecreator.py more progress in removing onionrutils class 2019-06-25 03:21:36 -05:00
uploadblocks.py Finished removing onionrutils for the most part, except for some possible bugs remaining 2019-06-25 19:15:04 -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