28 qDebug() << __func__ <<
": Stopping thread";
31 qDebug() << __func__ <<
": Stopped thread";
42 QMetaObject::invokeMethod(&
m_context, [
this] {
45 qDebug() <<
"Running initialization in thread";
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).
virtual bilingual_str getWarnings()=0
Get warnings.
virtual void appShutdown()=0
Stop node.
virtual bool appInitMain(interfaces::BlockAndHeaderTipInfo *tip_info=nullptr)=0
Start node.
void PrintExceptionContinue(const std::exception *pex, std::string_view thread_name)
void ThreadRename(const std::string &)
Rename a thread both in terms of an internal (in-memory) name as well as its system thread name.
Block and header tip information.