v30.3-roots.1 · Commit 51: [PATCH 51/68] mempool: synchronize dynamic dust fee publication
src/rpc/mining.cpp
Before: src/rpc/mining.cpp · After: src/rpc/mining.cpp
File metadata
index 850cdb70c4e3afc6225f0a3a28ec2b8d2c99b226..038ec952bbee2117eed3dfbb69c3fe2741e04ed8 100644
Download original patch · Release notes
Diff rows 1–8 of 8. 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/rpc/mining.cpp
CHANGED
|
@@ -533,7 +533,7 @@ static RPCHelpMan prioritisetransaction()
|
|
| 533 |
|
| 534 |
// Non-0 fee dust transactions are not allowed for entry, and modification not allowed afterwards
|
| 535 |
const auto& tx = mempool.get(txid);
|
| 536 |
-
if (mempool.m_opts.require_standard && tx && !GetDust(*tx, mempool.m_opts.dust_relay_feerate).empty()) {
|
| 537 |
throw JSONRPCError(RPC_INVALID_PARAMETER, "Priority is not supported for transactions with dust outputs.");
|
| 538 |
}
|
| 539 |
|
|
|
|
| 533 |
|
| 534 |
// Non-0 fee dust transactions are not allowed for entry, and modification not allowed afterwards
|
| 535 |
const auto& tx = mempool.get(txid);
|
| 536 |
+
if (mempool.m_opts.require_standard && tx && !GetDust(*tx, mempool.GetDustRelayFee()).empty()) {
|
| 537 |
throw JSONRPCError(RPC_INVALID_PARAMETER, "Priority is not supported for transactions with dust outputs.");
|
| 538 |
}
|
| 539 |
|