mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-22 03:48:55 +01:00
move-only: Move AbortNode to shutdown
Can be reviewed with the git option --color-moved=dimmed-zebra
This commit is contained in:
@@ -6,6 +6,11 @@
|
||||
#ifndef BITCOIN_SHUTDOWN_H
|
||||
#define BITCOIN_SHUTDOWN_H
|
||||
|
||||
#include <util/translation.h> // For bilingual_str
|
||||
|
||||
/** Abort with a message */
|
||||
bool AbortNode(const std::string& strMessage, bilingual_str user_message = bilingual_str{});
|
||||
|
||||
/** Initialize shutdown state. This must be called before using either StartShutdown(),
|
||||
* AbortShutdown() or WaitForShutdown(). Calling ShutdownRequested() is always safe.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user