|
|
|
@ -301,7 +301,11 @@ public:
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
bool getNetworkActive() override { return m_context->connman && m_context->connman->GetNetworkActive(); }
|
|
|
|
|
CFeeRate getDustRelayFee() override { return ::dustRelayFee; }
|
|
|
|
|
CFeeRate getDustRelayFee() override
|
|
|
|
|
{
|
|
|
|
|
if (!m_context->mempool) return CFeeRate{DUST_RELAY_TX_FEE};
|
|
|
|
|
return m_context->mempool->m_dust_relay_feerate;
|
|
|
|
|
}
|
|
|
|
|
UniValue executeRpc(const std::string& command, const UniValue& params, const std::string& uri) override
|
|
|
|
|
{
|
|
|
|
|
JSONRPCRequest req;
|
|
|
|
@ -686,7 +690,11 @@ public:
|
|
|
|
|
if (!m_node.mempool) return CFeeRate{DEFAULT_INCREMENTAL_RELAY_FEE};
|
|
|
|
|
return m_node.mempool->m_incremental_relay_feerate;
|
|
|
|
|
}
|
|
|
|
|
CFeeRate relayDustFee() override { return ::dustRelayFee; }
|
|
|
|
|
CFeeRate relayDustFee() override
|
|
|
|
|
{
|
|
|
|
|
if (!m_node.mempool) return CFeeRate{DUST_RELAY_TX_FEE};
|
|
|
|
|
return m_node.mempool->m_dust_relay_feerate;
|
|
|
|
|
}
|
|
|
|
|
bool havePruned() override
|
|
|
|
|
{
|
|
|
|
|
LOCK(::cs_main);
|
|
|
|
|