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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
src/node/interfaces.cpp
CHANGED
|
@@ -338,7 +338,7 @@ public:
|
|
| 338 |
CFeeRate getDustRelayFee() override
|
| 339 |
{
|
| 340 |
if (!m_context->mempool) return CFeeRate{DUST_RELAY_TX_FEE};
|
| 341 |
-
return m_context->mempool->m_opts.dust_relay_feerate;
|
| 342 |
}
|
| 343 |
UniValue executeRpc(const std::string& command, const UniValue& params, const std::string& uri) override
|
| 344 |
{
|
|
@@ -748,7 +748,7 @@ public:
|
|
| 748 |
CFeeRate relayDustFee() override
|
| 749 |
{
|
| 750 |
if (!m_node.mempool) return CFeeRate{DUST_RELAY_TX_FEE};
|
| 751 |
-
return m_node.mempool->m_opts.dust_relay_feerate;
|
| 752 |
}
|
| 753 |
bool havePruned() override
|
| 754 |
{
|
|
|
|
| 338 |
CFeeRate getDustRelayFee() override
|
| 339 |
{
|
| 340 |
if (!m_context->mempool) return CFeeRate{DUST_RELAY_TX_FEE};
|
| 341 |
+
return m_context->mempool->GetDustRelayFee();
|
| 342 |
}
|
| 343 |
UniValue executeRpc(const std::string& command, const UniValue& params, const std::string& uri) override
|
| 344 |
{
|
|
|
|
| 748 |
CFeeRate relayDustFee() override
|
| 749 |
{
|
| 750 |
if (!m_node.mempool) return CFeeRate{DUST_RELAY_TX_FEE};
|
| 751 |
+
return m_node.mempool->GetDustRelayFee();
|
| 752 |
}
|
| 753 |
bool havePruned() override
|
| 754 |
{
|