Bitcoin ABC 0.30.5
P2P Digital Currency
torcontrol.h
Go to the documentation of this file.
1// Copyright (c) 2015 The Bitcoin Core developers
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
8#ifndef BITCOIN_TORCONTROL_H
9#define BITCOIN_TORCONTROL_H
10
11#include <string>
12
13class CService;
14
15extern const std::string DEFAULT_TOR_CONTROL;
16static const bool DEFAULT_LISTEN_ONION = true;
17
18void StartTorControl(CService onion_service_target);
20void StopTorControl();
21
23
24#endif // BITCOIN_TORCONTROL_H
A combination of a network address (CNetAddr) and a (TCP) port.
Definition: netaddress.h:545
CService DefaultOnionServiceTarget()
Definition: torcontrol.cpp:871
const std::string DEFAULT_TOR_CONTROL
Default control port.
Definition: torcontrol.cpp:38
static const bool DEFAULT_LISTEN_ONION
Definition: torcontrol.h:16
void InterruptTorControl()
Definition: torcontrol.cpp:853
void StartTorControl(CService onion_service_target)
Definition: torcontrol.cpp:834
void StopTorControl()
Definition: torcontrol.cpp:863