Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/chain.cpp
Show First 20 Lines • Show All 337 Lines • ▼ Show 20 Lines | public: | ||||
1000; | 1000; | ||||
std::string unused_error_string; | std::string unused_error_string; | ||||
LOCK(::g_mempool.cs); | LOCK(::g_mempool.cs); | ||||
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); | ||||
} | } | ||||
CFeeRate estimateFee() const override { | |||||
return ::g_mempool.estimateFee(); | |||||
} | |||||
CFeeRate relayMinFee() override { return ::minRelayTxFee; } | CFeeRate relayMinFee() override { return ::minRelayTxFee; } | ||||
CFeeRate relayDustFee() override { return ::dustRelayFee; } | CFeeRate relayDustFee() override { return ::dustRelayFee; } | ||||
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 { | bool isInitialBlockDownload() override { | ||||
return IsInitialBlockDownload(); | return IsInitialBlockDownload(); | ||||
} | } | ||||
Show All 39 Lines |