diff options
| author | Hennadii Stepanov <[email protected]> | 2020-09-24 22:40:05 +0300 |
|---|---|---|
| committer | Hennadii Stepanov <[email protected]> | 2020-10-01 19:00:07 +0300 |
| commit | 57f17e57c8c410e10c16a46f7372c0ea8b7dd467 (patch) | |
| tree | 3ac9a2e8f4cde956b30d72daacdcd2436e82249d /src/torcontrol.h | |
| parent | refactor: Rename TorController::target to m_tor_control_center (diff) | |
| download | discoin-57f17e57c8c410e10c16a46f7372c0ea8b7dd467.tar.xz discoin-57f17e57c8c410e10c16a46f7372c0ea8b7dd467.zip | |
net: Pass onion service target to Tor controller
Diffstat (limited to 'src/torcontrol.h')
| -rw-r--r-- | src/torcontrol.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/torcontrol.h b/src/torcontrol.h index 474a4d87d..71a6960e5 100644 --- a/src/torcontrol.h +++ b/src/torcontrol.h @@ -8,12 +8,17 @@ #ifndef BITCOIN_TORCONTROL_H #define BITCOIN_TORCONTROL_H +#include <string> + +class CService; extern const std::string DEFAULT_TOR_CONTROL; static const bool DEFAULT_LISTEN_ONION = true; -void StartTorControl(); +void StartTorControl(CService onion_service_target); void InterruptTorControl(); void StopTorControl(); +CService DefaultOnionServiceTarget(); + #endif /* BITCOIN_TORCONTROL_H */ |