Bitcoin Core
25.99.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 <
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
exit_status
int exit_status
Definition:
bitcoin-wallet.cpp:107
node
Definition:
init.h:25
node::AbortNode
void AbortNode(std::atomic< int > &exit_status, const std::string &debug_message, const bilingual_str &user_message, bool shutdown)
Definition:
abort.cpp:19
bilingual_str
Bilingual messages:
Definition:
translation.h:18
translation.h
Generated on Mon Sep 25 2023 20:02:26 for Bitcoin Core by
1.9.1