![]() |
Bitcoin Core
26.99.0
P2P Digital Currency
|
#include <netaddress.h>
#include <util/fs.h>
#include <event2/util.h>
#include <cstdint>
#include <deque>
#include <functional>
#include <string>
#include <vector>
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 | |
constexpr int | DEFAULT_TOR_CONTROL_PORT = 9051 |
Functionality for communicating with Tor. More... | |
const std::string | DEFAULT_TOR_CONTROL |
Default control ip and port. More... | |
static const bool | DEFAULT_LISTEN_ONION = true |
CService DefaultOnionServiceTarget | ( | ) |
Definition at line 710 of file torcontrol.cpp.
void InterruptTorControl | ( | ) |
void StartTorControl | ( | CService | onion_service_target | ) |
Definition at line 672 of file torcontrol.cpp.
void StopTorControl | ( | ) |
|
static |
Definition at line 24 of file torcontrol.h.
|
extern |
Default control ip and port.
Definition at line 46 of file torcontrol.cpp.
|
constexpr |
Functionality for communicating with Tor.
Definition at line 22 of file torcontrol.h.