Bitcoin ABC  0.28.12
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 
13 class CService;
14 
15 extern const std::string DEFAULT_TOR_CONTROL;
16 static const bool DEFAULT_LISTEN_ONION = true;
17 
18 void StartTorControl(CService onion_service_target);
19 void InterruptTorControl();
20 void 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:870
const std::string DEFAULT_TOR_CONTROL
Default control port.
Definition: torcontrol.cpp:37
static const bool DEFAULT_LISTEN_ONION
Definition: torcontrol.h:16
void InterruptTorControl()
Definition: torcontrol.cpp:852
void StartTorControl(CService onion_service_target)
Definition: torcontrol.cpp:833
void StopTorControl()
Definition: torcontrol.cpp:862