Bitcoin Core  21.99.0
P2P Digital Currency
Classes | Functions | Variables
torcontrol.h File Reference
#include <fs.h>
#include <netaddress.h>
#include <boost/signals2/signal.hpp>
#include <event2/bufferevent.h>
#include <event2/event.h>
#include <cstdlib>
#include <deque>
#include <functional>
#include <string>
#include <vector>
Include dependency graph for torcontrol.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TorControlReply
 Reply from Tor, can be single or multi-line. More...
 
class  TorControlConnection
 Low-level handling for Tor control connection. More...
 
class  TorController
 Controller that connects to Tor control socket, authenticate, then create and maintain an ephemeral onion service. More...
 

Functions

void StartTorControl (CService onion_service_target)
 
void InterruptTorControl ()
 
void StopTorControl ()
 
CService DefaultOnionServiceTarget ()
 

Variables

const std::string DEFAULT_TOR_CONTROL
 Default control port. More...
 
static const bool DEFAULT_LISTEN_ONION = true
 

Function Documentation

◆ DefaultOnionServiceTarget()

CService DefaultOnionServiceTarget ( )

Definition at line 623 of file torcontrol.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InterruptTorControl()

void InterruptTorControl ( )

Definition at line 604 of file torcontrol.cpp.

Here is the caller graph for this function:

◆ StartTorControl()

void StartTorControl ( CService  onion_service_target)

Definition at line 585 of file torcontrol.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StopTorControl()

void StopTorControl ( )

Definition at line 614 of file torcontrol.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ DEFAULT_LISTEN_ONION

const bool DEFAULT_LISTEN_ONION = true
static

Definition at line 28 of file torcontrol.h.

◆ DEFAULT_TOR_CONTROL

const std::string DEFAULT_TOR_CONTROL

Default control port.

Definition at line 38 of file torcontrol.cpp.