Abort with a message */
| 2011 | |
| 2012 | /** Abort with a message */ |
| 2013 | bool AbortNode(const std::string& strMessage, const std::string& userMessage="") |
| 2014 | { |
| 2015 | strMiscWarning = strMessage; |
| 2016 | LogPrintf("*** %s\n", strMessage); |
| 2017 | uiInterface.ThreadSafeMessageBox( |
| 2018 | userMessage.empty() ? _("Error: A fatal internal error occured, see debug.log for details") : userMessage, |
| 2019 | "", CClientUIInterface::MSG_ERROR); |
| 2020 | StartShutdown(); |
| 2021 | return false; |
| 2022 | } |
| 2023 | |
| 2024 | bool AbortNode(CValidationState& state, const std::string& strMessage, const std::string& userMessage="") |
| 2025 | { |
no test coverage detected