Abort with a message */
| 1563 | |
| 1564 | /** Abort with a message */ |
| 1565 | static bool AbortNode(const std::string& strMessage, const std::string& userMessage="") |
| 1566 | { |
| 1567 | SetMiscWarning(strMessage); |
| 1568 | LogPrintf("*** %s\n", strMessage); |
| 1569 | uiInterface.ThreadSafeMessageBox( |
| 1570 | userMessage.empty() ? _("Error: A fatal internal error occurred, see debug.log for details") : userMessage, |
| 1571 | "", CClientUIInterface::MSG_ERROR); |
| 1572 | StartShutdown(); |
| 1573 | return false; |
| 1574 | } |
| 1575 | |
| 1576 | static bool AbortNode(CValidationState& state, const std::string& strMessage, const std::string& userMessage="") |
| 1577 | { |
no test coverage detected