2015-08-25 20:12:08 +02:00
|
|
|
// Copyright (c) 2015 The Bitcoin Core developers
|
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Functionality for communicating with Tor.
|
|
|
|
*/
|
|
|
|
#ifndef BITCOIN_TORCONTROL_H
|
|
|
|
#define BITCOIN_TORCONTROL_H
|
|
|
|
|
|
|
|
|
|
|
|
extern const std::string DEFAULT_TOR_CONTROL;
|
|
|
|
static const bool DEFAULT_LISTEN_ONION = true;
|
|
|
|
|
2020-06-13 20:21:30 +02:00
|
|
|
void StartTorControl();
|
2015-09-08 17:48:45 +02:00
|
|
|
void InterruptTorControl();
|
2015-08-25 20:12:08 +02:00
|
|
|
void StopTorControl();
|
|
|
|
|
|
|
|
#endif /* BITCOIN_TORCONTROL_H */
|