Bitcoin Core  25.99.0
P2P Digital Currency
abort.h
Go to the documentation of this file.
1 // Copyright (c) 2023 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.
4 
5 #ifndef BITCOIN_NODE_ABORT_H
6 #define BITCOIN_NODE_ABORT_H
7 
8 #include <util/translation.h>
9 
10 #include <atomic>
11 #include <string>
12 
13 namespace node {
14 void AbortNode(std::atomic<int>& exit_status, const std::string& debug_message, const bilingual_str& user_message = {}, bool shutdown = true);
15 } // namespace node
16 
17 #endif // BITCOIN_NODE_ABORT_H
int exit_status
Definition: init.h:25
void AbortNode(std::atomic< int > &exit_status, const std::string &debug_message, const bilingual_str &user_message, bool shutdown)
Definition: abort.cpp:19
Bilingual messages:
Definition: translation.h:18