Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/chain.cpp
Show First 20 Lines • Show All 312 Lines • ▼ Show 20 Lines | public: | ||||
limit_descendant_count, limit_descendant_size, | limit_descendant_count, limit_descendant_size, | ||||
unused_error_string); | unused_error_string); | ||||
} | } | ||||
CFeeRate estimateFee() const override { | CFeeRate estimateFee() const override { | ||||
return ::g_mempool.estimateFee(); | 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; } | |||||
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 isReadyToBroadcast() override { | bool isReadyToBroadcast() override { | ||||
return !::fImporting && !::fReindex && !isInitialBlockDownload(); | return !::fImporting && !::fReindex && !isInitialBlockDownload(); | ||||
} | } | ||||
bool isInitialBlockDownload() override { | bool isInitialBlockDownload() override { | ||||
return ::ChainstateActive().IsInitialBlockDownload(); | return ::ChainstateActive().IsInitialBlockDownload(); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |