v29.4-roots.3 · Commit 3: [PATCH 03/30] policy: restore conservative relay and network controls
src/node/interfaces.cpp
Before: src/node/interfaces.cpp · After: src/node/interfaces.cpp
File metadata
index f28e5dffbd55c393ef9ed31617a1aba2c3d69c30..eb776e124030665cd16e3a56aa9c9e010bf5f154 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. The two line-number columns refer to before and after.
src/node/interfaces.cpp
CHANGED
|
@@ -732,7 +732,7 @@ public:
|
|
|
732
732
|
{
|
|
733
733
|
if (!m_node.mempool) return {};
|
|
734
734
|
LockPoints lp;
|
|
735
|
-
CTxMemPoolEntry entry(tx, 0, 0, 0, 0, false, 0, lp);
|
|
735
|
+
CTxMemPoolEntry entry(tx, 0, 0, 0, 0, COIN_AGE_CACHE_ZERO, false, 0, 0, lp);
|
|
736
736
|
LOCK(m_node.mempool->cs);
|
|
737
737
|
return m_node.mempool->CheckPackageLimits({tx}, entry.GetTxSize());
|
|
738
738
|
}
|