aboutsummaryrefslogtreecommitdiff
path: root/src/warnings.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-06-10 11:44:48 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-06-10 15:01:20 +0300
commitd1ae7c0355662481a7d181a0a458284936d53eb1 (patch)
tree55d250c43634c6a224d92944e22692bcf03efeff /src/warnings.h
parent38e33aa481cefbe12c50f344bae190c0d95fb489 (diff)
downloadbitcoin-d1ae7c0355662481a7d181a0a458284936d53eb1.tar.xz
Make GetWarnings() return bilingual_str
Diffstat (limited to 'src/warnings.h')
-rw-r--r--src/warnings.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/warnings.h b/src/warnings.h
index 83b1add1ee..8897ace9eb 100644
--- a/src/warnings.h
+++ b/src/warnings.h
@@ -8,16 +8,18 @@
#include <string>
+struct bilingual_str;
+
void SetMiscWarning(const std::string& strWarning);
void SetfLargeWorkForkFound(bool flag);
bool GetfLargeWorkForkFound();
void SetfLargeWorkInvalidChainFound(bool flag);
/** Format a string that describes several potential problems detected by the core.
* @param[in] verbose bool
- * - if true, get all warnings, translated (where possible), separated by <hr />
+ * - if true, get all warnings separated by <hr />
* - if false, get the most important warning
* @returns the warning string
*/
-std::string GetWarnings(bool verbose);
+bilingual_str GetWarnings(bool verbose);
#endif // BITCOIN_WARNINGS_H