Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 51: [PATCH 51/68] mempool: synchronize dynamic dust fee publication

src/node/interfaces.cpp

Before: src/node/interfaces.cpp · After: src/node/interfaces.cpp

File metadata
index f76a0616ffbf3ba6449cb002cbb84e5abc79a07c..4db05424988e50d694beef8f1893ec86121538f5 100644

Download original patch · Release notes

Diff rows 1–16 of 16. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.

src/node/interfaces.cpp CHANGED
@@ -338,7 +338,7 @@ public:
338
338
  CFeeRate getDustRelayFee() override
339
339
  {
340
340
  if (!m_context->mempool) return CFeeRate{DUST_RELAY_TX_FEE};
341
- return m_context->mempool->m_opts.dust_relay_feerate;
341
+ return m_context->mempool->GetDustRelayFee();
342
342
  }
343
343
  UniValue executeRpc(const std::string& command, const UniValue& params, const std::string& uri) override
344
344
  {
@@ -748,7 +748,7 @@ public:
748
748
  CFeeRate relayDustFee() override
749
749
  {
750
750
  if (!m_node.mempool) return CFeeRate{DUST_RELAY_TX_FEE};
751
- return m_node.mempool->m_opts.dust_relay_feerate;
751
+ return m_node.mempool->GetDustRelayFee();
752
752
  }
753
753
  bool havePruned() override
754
754
  {