Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/chain.cpp
Show First 20 Lines • Show All 389 Lines • ▼ Show 20 Lines | public: | ||||
bool isInitialBlockDownload() override { | bool isInitialBlockDownload() override { | ||||
return ::ChainstateActive().IsInitialBlockDownload(); | return ::ChainstateActive().IsInitialBlockDownload(); | ||||
} | } | ||||
bool shutdownRequested() override { return ShutdownRequested(); } | bool shutdownRequested() override { return ShutdownRequested(); } | ||||
int64_t getAdjustedTime() override { return GetAdjustedTime(); } | int64_t getAdjustedTime() override { return GetAdjustedTime(); } | ||||
void initMessage(const std::string &message) override { | void initMessage(const std::string &message) override { | ||||
::uiInterface.InitMessage(message); | ::uiInterface.InitMessage(message); | ||||
} | } | ||||
void initWarning(const std::string &message) override { | void initWarning(const bilingual_str &message) override { | ||||
InitWarning(message); | InitWarning(message); | ||||
} | } | ||||
void initError(const bilingual_str &message) override { | void initError(const bilingual_str &message) override { | ||||
InitError(message); | InitError(message); | ||||
} | } | ||||
void showProgress(const std::string &title, int progress, | void showProgress(const std::string &title, int progress, | ||||
bool resume_possible) override { | bool resume_possible) override { | ||||
::uiInterface.ShowProgress(title, progress, resume_possible); | ::uiInterface.ShowProgress(title, progress, resume_possible); | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |