v31.1-roots.1 · Commit 3: [PATCH 03/17] feat(policy): preserve cluster accounting and repair dynamic dust
src/node/interfaces.cpp
Before: src/node/interfaces.cpp · After: src/node/interfaces.cpp
File metadata
index 84fd5bb79474a90c9253cad17f0df23790c52a07..6c55a588b68e3b0ce6caa9d1537967272dc6c258 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
|
@@ -341,7 +341,7 @@ public:
|
|
| 341 |
CFeeRate getDustRelayFee() override
|
| 342 |
{
|
| 343 |
if (!m_context->mempool) return CFeeRate{DUST_RELAY_TX_FEE};
|
| 344 |
-
return m_context->mempool->m_opts.dust_relay_feerate;
|
| 345 |
}
|
| 346 |
UniValue executeRpc(const std::string& command, const UniValue& params, const std::string& uri) override
|
| 347 |
{
|
|
@@ -751,7 +751,7 @@ public:
|
|
| 751 |
CFeeRate relayDustFee() override
|
| 752 |
{
|
| 753 |
if (!m_node.mempool) return CFeeRate{DUST_RELAY_TX_FEE};
|
| 754 |
-
return m_node.mempool->m_opts.dust_relay_feerate;
|
| 755 |
}
|
| 756 |
bool havePruned() override
|
| 757 |
{
|
|
|
|
| 341 |
CFeeRate getDustRelayFee() override
|
| 342 |
{
|
| 343 |
if (!m_context->mempool) return CFeeRate{DUST_RELAY_TX_FEE};
|
| 344 |
+
return m_context->mempool->GetDustRelayFee();
|
| 345 |
}
|
| 346 |
UniValue executeRpc(const std::string& command, const UniValue& params, const std::string& uri) override
|
| 347 |
{
|
|
|
|
| 751 |
CFeeRate relayDustFee() override
|
| 752 |
{
|
| 753 |
if (!m_node.mempool) return CFeeRate{DUST_RELAY_TX_FEE};
|
| 754 |
+
return m_node.mempool->GetDustRelayFee();
|
| 755 |
}
|
| 756 |
bool havePruned() override
|
| 757 |
{
|