28 qDebug() << __func__ <<
": Stopping thread";
31 qDebug() << __func__ <<
": Stopped thread";
42 QMetaObject::invokeMethod(&
m_context, [
this] {
45 qDebug() <<
"Running initialization in thread";
47 bool rv =
m_node.appInitMain(&tip_info);
49 }
catch (
const std::exception& e) {
59 QMetaObject::invokeMethod(&
m_context, [
this] {
61 qDebug() <<
"Running Shutdown in thread";
63 qDebug() <<
"Shutdown finished";
65 }
catch (
const std::exception& e) {
void handleRunawayException(const std::exception *e)
Pass fatal exception message to UI thread.
void initializeResult(bool success, interfaces::BlockAndHeaderTipInfo tip_info)
void runawayException(const QString &message)
InitExecutor(interfaces::Node &node)
interfaces::Node & m_node
Top-level interface for a bitcoin node (bitcoind process).
void PrintExceptionContinue(const std::exception *pex, std::string_view thread_name)
void ThreadRename(const std::string &)
Block and header tip information.