2019-08-07 05:42:37 +00:00
|
|
|
# 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
|
2019-08-07 22:46:57 +00:00
|
|
|
* Daemon maintenance/housekeeping
|
2019-08-07 05:42:37 +00:00
|
|
|
|
|
|
|
## 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
|
2019-08-07 22:46:57 +00:00
|
|
|
* onlinepeers: management of the online peer pool for the communicator
|