aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2017-01-09 14:38:16 -0500
committerMatt Corallo <git@bluematt.me>2017-01-10 14:48:42 -0500
commit7f8c8cab1e537809848088d3bfaa13ecca7ac8cc (patch)
tree3e0d5a7cbbac21b2733614bb47fec7eb09cb2d38 /src/net_processing.cpp
parent93380c5247526e2248248a7d539233ec48d11bdd (diff)
Consider all orphan txn for compact-block-extra-txn cache
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r--src/net_processing.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp
index 8e23e54e06..bdcfacc06a 100644
--- a/src/net_processing.cpp
+++ b/src/net_processing.cpp
@@ -626,6 +626,8 @@ bool AddOrphanTx(const CTransactionRef& tx, NodeId peer) EXCLUSIVE_LOCKS_REQUIRE
mapOrphanTransactionsByPrev[txin.prevout].insert(ret.first);
}
+ AddToCompactExtraTransactions(tx);
+
LogPrint("mempool", "stored orphan tx %s (mapsz %u outsz %u)\n", hash.ToString(),
mapOrphanTransactions.size(), mapOrphanTransactionsByPrev.size());
return true;