mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-07 19:22:17 +01:00
Improve block database load error reporting
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
static int noui_ThreadSafeMessageBox(const std::string& message, const std::string& caption, unsigned int style)
|
||||
static bool noui_ThreadSafeMessageBox(const std::string& message, const std::string& caption, unsigned int style)
|
||||
{
|
||||
std::string strCaption;
|
||||
// Check for usage of predefined caption
|
||||
@@ -29,7 +29,7 @@ static int noui_ThreadSafeMessageBox(const std::string& message, const std::stri
|
||||
|
||||
printf("%s: %s\n", strCaption.c_str(), message.c_str());
|
||||
fprintf(stderr, "%s: %s\n", strCaption.c_str(), message.c_str());
|
||||
return 4;
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool noui_ThreadSafeAskFee(int64 /*nFeeRequired*/)
|
||||
|
||||
Reference in New Issue
Block a user