Dogecoin Core  1.14.2
P2P Digital Currency
Classes | Functions | Variables
torcontrol.cpp File Reference
#include "torcontrol.h"
#include "utilstrencodings.h"
#include "netbase.h"
#include "net.h"
#include "util.h"
#include "crypto/hmac_sha256.h"
#include <vector>
#include <deque>
#include <set>
#include <stdlib.h>
#include <boost/function.hpp>
#include <boost/bind/bind.hpp>
#include <boost/signals2/signal.hpp>
#include <boost/foreach.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <event2/bufferevent.h>
#include <event2/buffer.h>
#include <event2/util.h>
#include <event2/event.h>
#include <event2/thread.h>
Include dependency graph for torcontrol.cpp:

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 a ephemeral hidden service. More...
 

Functions

void StartTorControl (boost::thread_group &threadGroup, CScheduler &scheduler)
 
void InterruptTorControl ()
 
void StopTorControl ()
 

Variables

const std::string DEFAULT_TOR_CONTROL = "127.0.0.1:9051"
 Default control port. More...
 
struct event_base * base
 
boost::thread torControlThread
 

Function Documentation

◆ InterruptTorControl()

void InterruptTorControl ( )

Definition at line 706 of file torcontrol.cpp.

Here is the caller graph for this function:

◆ StartTorControl()

void StartTorControl ( boost::thread_group &  threadGroup,
CScheduler scheduler 
)

Definition at line 689 of file torcontrol.cpp.

Here is the call graph for this function:

◆ StopTorControl()

void StopTorControl ( )

Definition at line 714 of file torcontrol.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ base

struct event_base* base

Definition at line 679 of file torcontrol.cpp.

◆ DEFAULT_TOR_CONTROL

const std::string DEFAULT_TOR_CONTROL = "127.0.0.1:9051"

Default control port.

Functionality for communicating with Tor.

Definition at line 33 of file torcontrol.cpp.

◆ torControlThread

boost::thread torControlThread

Definition at line 680 of file torcontrol.cpp.