mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 13:32:47 +01:00
224d0a3fb2
* Merge #12381: Remove more boost threads004f999
boost: drop boost threads for [alert|block|wallet]notify (Cory Fields)0827267
boost: drop boost threads from torcontrol (Cory Fields)ba91724
boost: remove useless threadGroup parameter from Discover (Cory Fields)f26866b
boost: drop boost threads for upnp (Cory Fields) Pull request description: This doesn't completely get rid of boost::thread, but this batch should be easy to review, and leaves us with only threadGroup (scheduler + scriptcheck) remaining. Note to reviewers: The upnp diff changes a bunch of whitespace, it's much more clear with 'git diff -w' Tree-SHA512: 5a356798d0785f93ed143d1f0afafe890bc82f0d470bc969473da2d2aa78bcb9b096f7ba11b92564d546fb447d4bd0d347e7842994ea0170aafd53fda7e0a66e * fix using std::thread Signed-off-by: pasta <pasta@dashboost.org> * Switch to std::thread in NotifyTransactionLock * Move StopTorControl call from Shutdown to PrepareShutdown Co-authored-by: Wladimir J. van der Laan <laanwj@gmail.com> Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
21 lines
530 B
C++
21 lines
530 B
C++
// 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
|
|
|
|
#include <scheduler.h>
|
|
|
|
extern const std::string DEFAULT_TOR_CONTROL;
|
|
static const bool DEFAULT_LISTEN_ONION = true;
|
|
|
|
void StartTorControl();
|
|
void InterruptTorControl();
|
|
void StopTorControl();
|
|
|
|
#endif /* BITCOIN_TORCONTROL_H */
|