Skip to content

Commit 1bf3f33

Browse files
committed
node: Removed unused wallet-related methods from the Node interface.
1 parent b382004 commit 1bf3f33

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

src/interfaces/node.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,6 @@ class NodeImpl : public Node
216216
return result;
217217
}
218218
CFeeRate getDustRelayFee() override { return ::dustRelayFee; }
219-
CFeeRate getFallbackFee() override { CHECK_WALLET(return CWallet::fallbackFee); }
220-
CFeeRate getPayTxFee() override { CHECK_WALLET(return ::payTxFee); }
221-
void setPayTxFee(CFeeRate rate) override { CHECK_WALLET(::payTxFee = rate); }
222219
UniValue executeRpc(const std::string& command, const UniValue& params, const std::string& uri) override
223220
{
224221
JSONRPCRequest req;

src/interfaces/node.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -173,15 +173,6 @@ class Node
173173
//! Get dust relay fee.
174174
virtual CFeeRate getDustRelayFee() = 0;
175175

176-
//! Get fallback fee.
177-
virtual CFeeRate getFallbackFee() = 0;
178-
179-
//! Get pay tx fee.
180-
virtual CFeeRate getPayTxFee() = 0;
181-
182-
//! Set pay tx fee.
183-
virtual void setPayTxFee(CFeeRate rate) = 0;
184-
185176
//! Execute rpc command.
186177
virtual UniValue executeRpc(const std::string& command, const UniValue& params, const std::string& uri) = 0;
187178

0 commit comments

Comments
 (0)