aboutsummaryrefslogtreecommitdiff
path: root/src/node
diff options
context:
space:
mode:
authorAntoine Poinsot <darosior@protonmail.com>2020-12-01 11:24:33 +0100
committerAntoine Poinsot <darosior@protonmail.com>2020-12-03 12:56:36 +0100
commit03bfeee957ab7e3b6aece82b9561774648094f54 (patch)
treebb97cd421cd110e68361ec6bfb69a15bd2ae12e1 /src/node
parent681ce59d0eac005203af1ff5bd64a1e6f2fa53e7 (diff)
interface: remove unused estimateSmartFee method from node
Co-Authored-by: MarcoFalke <falke.marco@gmail.com> Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Diffstat (limited to 'src/node')
-rw-r--r--src/node/interfaces.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/node/interfaces.cpp b/src/node/interfaces.cpp
index a8c8be05fb..02c5cbc6b1 100644
--- a/src/node/interfaces.cpp
+++ b/src/node/interfaces.cpp
@@ -221,15 +221,6 @@ public:
}
}
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; }
UniValue executeRpc(const std::string& command, const UniValue& params, const std::string& uri) override
{