mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-04 17:52:25 +01:00
Make GetWarnings() return bilingual_str
This commit is contained in:
@@ -71,7 +71,7 @@ public:
|
||||
std::string getNetwork() override { return Params().NetworkIDString(); }
|
||||
void initLogging() override { InitLogging(); }
|
||||
void initParameterInteraction() override { InitParameterInteraction(); }
|
||||
std::string getWarnings() override { return GetWarnings(true); }
|
||||
bilingual_str getWarnings() override { return GetWarnings(true); }
|
||||
uint32_t getLogCategories() override { return LogInstance().GetCategoryMask(); }
|
||||
bool baseInitialize() override
|
||||
{
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <net_types.h> // For banmap_t
|
||||
#include <netaddress.h> // For Network
|
||||
#include <support/allocators/secure.h> // For SecureString
|
||||
#include <util/translation.h>
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
@@ -81,7 +82,7 @@ public:
|
||||
virtual void initParameterInteraction() = 0;
|
||||
|
||||
//! Get warnings.
|
||||
virtual std::string getWarnings() = 0;
|
||||
virtual bilingual_str getWarnings() = 0;
|
||||
|
||||
// Get log flags.
|
||||
virtual uint32_t getLogCategories() = 0;
|
||||
|
||||
Reference in New Issue
Block a user