8#ifndef BITCOIN_TORCONTROL_H
9#define BITCOIN_TORCONTROL_H
A combination of a network address (CNetAddr) and a (TCP) port.
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
CService DefaultOnionServiceTarget()
const std::string DEFAULT_TOR_CONTROL
Default control port.
static const bool DEFAULT_LISTEN_ONION
void InterruptTorControl()
void StartTorControl(CService onion_service_target)