Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/chain.cpp
Show First 20 Lines • Show All 238 Lines • ▼ Show 20 Lines | public: | ||||
return ::g_mempool.CalculateMemPoolAncestors( | return ::g_mempool.CalculateMemPoolAncestors( | ||||
entry, ancestors, limit_ancestor_count, limit_ancestor_size, | entry, ancestors, limit_ancestor_count, limit_ancestor_size, | ||||
limit_descendant_count, limit_descendant_size, | limit_descendant_count, limit_descendant_size, | ||||
unused_error_string); | unused_error_string); | ||||
} | } | ||||
Amount maxTxFee() override { return ::maxTxFee; } | Amount maxTxFee() override { return ::maxTxFee; } | ||||
bool getPruneMode() override { return ::fPruneMode; } | bool getPruneMode() override { return ::fPruneMode; } | ||||
bool p2pEnabled() override { return g_connman != nullptr; } | bool p2pEnabled() override { return g_connman != nullptr; } | ||||
bool isInitialBlockDownload() override { | |||||
return IsInitialBlockDownload(); | |||||
} | |||||
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 std::string &message) override { | ||||
InitWarning(message); | InitWarning(message); | ||||
} | } | ||||
void initError(const std::string &message) override { | void initError(const std::string &message) override { | ||||
Show All 14 Lines |