24 if (shutdown_request && !shutdown_request()) {
25 LogError(
"Failed to send shutdown signal\n");
Manages warning messages within a node.
bool Set(warning_type id, bilingual_str message) EXCLUSIVE_LOCKS_REQUIRED(!m_mutex)
Set a warning message.
static std::string PathToString(const path &path)
Convert path object to a byte string.
bool InitError(const bilingual_str &str)
Show error message.
BCLog::Logger & LogInstance()
void AbortNode(const std::function< bool()> &shutdown_request, std::atomic< int > &exit_status, const bilingual_str &message, node::Warnings *warnings)
consteval auto _(util::TranslatedLiteral str)