Bitcoin Core  29.1.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 <atomic>
9 #include <functional>
10 
11 struct bilingual_str;
12 
13 namespace node {
14 class Warnings;
15 void AbortNode(const std::function<bool()>& shutdown_request, std::atomic<int>& exit_status, const bilingual_str& message, node::Warnings* warnings);
16 } // namespace node
17 
18 #endif // BITCOIN_NODE_ABORT_H
Bilingual messages:
Definition: translation.h:24
Manages warning messages within a node.
Definition: warnings.h:39
Definition: messages.h:20
void AbortNode(const std::function< bool()> &shutdown_request, std::atomic< int > &exit_status, const bilingual_str &message, node::Warnings *warnings)
Definition: abort.cpp:18
int exit_status