| 254 | } |
| 255 | |
| 256 | void BitcoinCore::initialize() |
| 257 | { |
| 258 | try |
| 259 | { |
| 260 | qDebug() << __func__ << ": Running initialization in thread"; |
| 261 | bool rv = m_node.appInitMain(); |
| 262 | Q_EMIT initializeResult(rv); |
| 263 | } catch (const std::exception& e) { |
| 264 | handleRunawayException(&e); |
| 265 | } catch (...) { |
| 266 | handleRunawayException(nullptr); |
| 267 | } |
| 268 | } |
| 269 | |
| 270 | void BitcoinCore::shutdown() |
| 271 | { |
nothing calls this directly
no test coverage detected