TorController

Manages the node's Tor hidden service and control connection.

Synopsis

Declared in <torcontrol.h>

class TorController;

Member Functions

NameDescription
TorController [constructor]Constructors
~TorController [destructor]Destroy the controller.
GetPrivateKeyFile Get name of file to store private key in
Interrupt Interrupt the controller thread
Join Wait for the controller thread to exit
add_onion_cb Callback for ADD_ONION result
auth_cb Callback for AUTHENTICATE result
authchallenge_cb Callback for AUTHCHALLENGE result
connected_cb Callback after successful connection
disconnected_cb Callback after connection lost or failed connection attempt
get_socks_cb Callback for GETINFO net/listeners/socks result
protocolinfo_cb Callback for PROTOCOLINFO result