diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-04-07 12:12:46 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-04-23 10:49:21 -0400 |
commit | fac0db0ff8e72ca30a0da8a64fc1d115dd2d6f8c (patch) | |
tree | d12d25bb207858129003ef6c33956f6c8a3fcdcb /src/interfaces/node.cpp | |
parent | d5b2e98250f6b2a8b70d12893fee371f27fc4400 (diff) |
wallet: Make fee settings non-static members
Diffstat (limited to 'src/interfaces/node.cpp')
-rw-r--r-- | src/interfaces/node.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/interfaces/node.cpp b/src/interfaces/node.cpp index e55cba3c65..55786c807f 100644 --- a/src/interfaces/node.cpp +++ b/src/interfaces/node.cpp @@ -191,20 +191,6 @@ class NodeImpl : public Node } } bool getNetworkActive() override { return g_connman && g_connman->GetNetworkActive(); } - unsigned int getTxConfirmTarget() override { CHECK_WALLET(return ::nTxConfirmTarget); } - CAmount getRequiredFee(unsigned int tx_bytes) override { CHECK_WALLET(return GetRequiredFee(tx_bytes)); } - CAmount getMinimumFee(unsigned int tx_bytes, - const CCoinControl& coin_control, - int* returned_target, - FeeReason* reason) override - { - FeeCalculation fee_calc; - CAmount result; - CHECK_WALLET(result = GetMinimumFee(tx_bytes, coin_control, ::mempool, ::feeEstimator, &fee_calc)); - if (returned_target) *returned_target = fee_calc.returnedTarget; - if (reason) *reason = fee_calc.reason; - return result; - } CAmount getMaxTxFee() override { return ::maxTxFee; } CFeeRate estimateSmartFee(int num_blocks, bool conservative, int* returned_target = nullptr) override { |