6 #ifndef BITCOIN_SHUTDOWN_H 7 #define BITCOIN_SHUTDOWN_H void StartShutdown()
Request shutdown of the application.
bool InitShutdownState()
Initialize shutdown state.
void AbortShutdown()
Clear shutdown flag.
bool AbortNode(const std::string &strMessage, bilingual_str user_message=bilingual_str{})
Abort with a message.
bool ShutdownRequested()
Returns true if a shutdown is requested, false otherwise.
void WaitForShutdown()
Wait for StartShutdown to be called in any thread.