2018-01-02 14:12:05 -03:00
|
|
|
// Copyright (c) 2015-2017 The Bitcoin Core developers
|
2015-08-25 15:12:08 -03:00
|
|
|
// 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
|
|
|
|
|
2017-11-09 21:57:53 -03:00
|
|
|
#include <scheduler.h>
|
2015-08-25 15:12:08 -03:00
|
|
|
|
|
|
|
extern const std::string DEFAULT_TOR_CONTROL;
|
|
|
|
static const bool DEFAULT_LISTEN_ONION = true;
|
|
|
|
|
2018-02-07 20:33:20 -03:00
|
|
|
void StartTorControl();
|
2015-09-08 12:48:45 -03:00
|
|
|
void InterruptTorControl();
|
2015-08-25 15:12:08 -03:00
|
|
|
void StopTorControl();
|
|
|
|
|
|
|
|
#endif /* BITCOIN_TORCONTROL_H */
|