Changeset View
Changeset View
Standalone View
Standalone View
src/bitcoind.cpp
Show All 22 Lines | |||||
#include <util/system.h> | #include <util/system.h> | ||||
#include <util/threadnames.h> | #include <util/threadnames.h> | ||||
#include <util/translation.h> | #include <util/translation.h> | ||||
#include <functional> | #include <functional> | ||||
const std::function<std::string(const char *)> G_TRANSLATION_FUN = nullptr; | const std::function<std::string(const char *)> G_TRANSLATION_FUN = nullptr; | ||||
/* Introduction text for doxygen: */ | |||||
/*! \mainpage Developer documentation | |||||
* | |||||
* \section intro_sec Introduction | |||||
* | |||||
* This is the developer documentation of Bitcoin ABC | |||||
* (https://www.bitcoinabc.org/). Bitcoin ABC is a client for the digital | |||||
* currency called Bitcoin Cash (https://www.bitcoincash.org/), which enables | |||||
* instant payments to anyone, anywhere in the world. Bitcoin Cash uses | |||||
* peer-to-peer technology to operate with no central authority: managing | |||||
* transactions and issuing money are carried out collectively by the network. | |||||
* | |||||
* The software is a community-driven open source project, released under the | |||||
* MIT license. | |||||
* | |||||
* \section Navigation | |||||
* Use the buttons <code>Namespaces</code>, <code>Classes</code> or | |||||
* <code>Files</code> at the top of the page to start navigating the code. | |||||
*/ | |||||
static void WaitForShutdown(NodeContext &node) { | static void WaitForShutdown(NodeContext &node) { | ||||
while (!ShutdownRequested()) { | while (!ShutdownRequested()) { | ||||
UninterruptibleSleep(std::chrono::milliseconds{200}); | UninterruptibleSleep(std::chrono::milliseconds{200}); | ||||
} | } | ||||
Interrupt(node); | Interrupt(node); | ||||
} | } | ||||
////////////////////////////////////////////////////////////////////////////// | ////////////////////////////////////////////////////////////////////////////// | ||||
▲ Show 20 Lines • Show All 172 Lines • Show Last 20 Lines |