File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -151,9 +151,6 @@ class Node
151
151
// ! Get network active.
152
152
virtual bool getNetworkActive () = 0;
153
153
154
- // ! Estimate smart fee.
155
- virtual CFeeRate estimateSmartFee (int num_blocks, bool conservative, int * returned_target = nullptr ) = 0;
156
-
157
154
// ! Get dust relay fee.
158
155
virtual CFeeRate getDustRelayFee () = 0;
159
156
Original file line number Diff line number Diff line change @@ -221,15 +221,6 @@ class NodeImpl : public Node
221
221
}
222
222
}
223
223
bool getNetworkActive () override { return m_context->connman && m_context->connman ->GetNetworkActive (); }
224
- CFeeRate estimateSmartFee (int num_blocks, bool conservative, int * returned_target = nullptr ) override
225
- {
226
- FeeCalculation fee_calc;
227
- CFeeRate result = ::feeEstimator.estimateSmartFee (num_blocks, &fee_calc, conservative);
228
- if (returned_target) {
229
- *returned_target = fee_calc.returnedTarget ;
230
- }
231
- return result;
232
- }
233
224
CFeeRate getDustRelayFee () override { return ::dustRelayFee; }
234
225
UniValue executeRpc (const std::string& command, const UniValue& params, const std::string& uri) override
235
226
{
You can’t perform that action at this time.
0 commit comments