scripted-diff: rename assert_raises_jsonrpc to assert_raises_rpc error
[bitcoinplatinum.git] / src / torcontrol.h
blob72dc82c5b17a97102d6f881e1d209ab26a26dc7e
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.
5 /**
6 * Functionality for communicating with Tor.
7 */
8 #ifndef BITCOIN_TORCONTROL_H
9 #define BITCOIN_TORCONTROL_H
11 #include "scheduler.h"
13 extern const std::string DEFAULT_TOR_CONTROL;
14 static const bool DEFAULT_LISTEN_ONION = true;
16 void StartTorControl(boost::thread_group& threadGroup, CScheduler& scheduler);
17 void InterruptTorControl();
18 void StopTorControl();
20 #endif /* BITCOIN_TORCONTROL_H */