aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Snider <tjps636@gmail.com>2018-04-18 19:47:58 -0700
committerThomas Snider <tjps636@gmail.com>2018-04-18 19:53:30 -0700
commit1bf3f33b4661addf93669747b32a07065f17a551 (patch)
tree68636a91a89ded7cd2ff4b8bb6d20f1af9539147
parentb38200459f9611c315710c83528614fb244ca719 (diff)
node: Removed unused wallet-related methods from the Node interface.
-rw-r--r--src/interfaces/node.cpp3
-rw-r--r--src/interfaces/node.h9
2 files changed, 0 insertions, 12 deletions
diff --git a/src/interfaces/node.cpp b/src/interfaces/node.cpp
index 919748f942..ddd5496a80 100644
--- a/src/interfaces/node.cpp
+++ b/src/interfaces/node.cpp
@@ -216,9 +216,6 @@ class NodeImpl : public Node
return result;
}
CFeeRate getDustRelayFee() override { return ::dustRelayFee; }
- CFeeRate getFallbackFee() override { CHECK_WALLET(return CWallet::fallbackFee); }
- CFeeRate getPayTxFee() override { CHECK_WALLET(return ::payTxFee); }
- void setPayTxFee(CFeeRate rate) override { CHECK_WALLET(::payTxFee = rate); }
UniValue executeRpc(const std::string& command, const UniValue& params, const std::string& uri) override
{
JSONRPCRequest req;
diff --git a/src/interfaces/node.h b/src/interfaces/node.h
index f375af2f19..84e869100a 100644
--- a/src/interfaces/node.h
+++ b/src/interfaces/node.h
@@ -173,15 +173,6 @@ public:
//! Get dust relay fee.
virtual CFeeRate getDustRelayFee() = 0;
- //! Get fallback fee.
- virtual CFeeRate getFallbackFee() = 0;
-
- //! Get pay tx fee.
- virtual CFeeRate getPayTxFee() = 0;
-
- //! Set pay tx fee.
- virtual void setPayTxFee(CFeeRate rate) = 0;
-
//! Execute rpc command.
virtual UniValue executeRpc(const std::string& command, const UniValue& params, const std::string& uri) = 0;