|
|
@ -221,15 +221,6 @@ public:
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
bool getNetworkActive() override { return m_context->connman && m_context->connman->GetNetworkActive(); }
|
|
|
|
bool getNetworkActive() override { return m_context->connman && m_context->connman->GetNetworkActive(); }
|
|
|
|
CFeeRate estimateSmartFee(int num_blocks, bool conservative, int* returned_target = nullptr) override
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
FeeCalculation fee_calc;
|
|
|
|
|
|
|
|
CFeeRate result = ::feeEstimator.estimateSmartFee(num_blocks, &fee_calc, conservative);
|
|
|
|
|
|
|
|
if (returned_target) {
|
|
|
|
|
|
|
|
*returned_target = fee_calc.returnedTarget;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return result;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
CFeeRate getDustRelayFee() override { return ::dustRelayFee; }
|
|
|
|
CFeeRate getDustRelayFee() override { return ::dustRelayFee; }
|
|
|
|
UniValue executeRpc(const std::string& command, const UniValue& params, const std::string& uri) override
|
|
|
|
UniValue executeRpc(const std::string& command, const UniValue& params, const std::string& uri) override
|
|
|
|
{
|
|
|
|
{
|
|
|
|