Bitcoin Core
28.1.0
P2P Digital Currency
src
node
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
10
struct
bilingual_str
;
11
12
namespace
util
{
13
class
SignalInterrupt;
14
}
// namespace util
15
16
namespace
node
{
17
class
Warnings;
18
void
AbortNode
(
util::SignalInterrupt
* shutdown, std::atomic<int>&
exit_status
,
const
bilingual_str
& message,
node::Warnings
* warnings);
19
}
// namespace node
20
21
#endif // BITCOIN_NODE_ABORT_H
util
Definition:
httpserver.h:13
bilingual_str
Bilingual messages:
Definition:
translation.h:18
node::Warnings
Manages warning messages within a node.
Definition:
warnings.h:39
node::AbortNode
void AbortNode(util::SignalInterrupt *shutdown, std::atomic< int > &exit_status, const bilingual_str &message, node::Warnings *warnings)
Definition:
abort.cpp:18
node
Definition:
messages.h:20
util::SignalInterrupt
Helper class that manages an interrupt flag, and allows a thread or signal to interrupt another threa...
Definition:
signalinterrupt.h:28
exit_status
int exit_status
Definition:
bitcoin-wallet.cpp:106
Generated on Tue Jan 7 2025 12:00:00 for Bitcoin Core by
1.8.14