diff options
author | Matt Corallo <git@bluematt.me> | 2017-01-09 14:38:16 -0500 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2017-01-10 14:48:42 -0500 |
commit | 7f8c8cab1e537809848088d3bfaa13ecca7ac8cc (patch) | |
tree | 3e0d5a7cbbac21b2733614bb47fec7eb09cb2d38 /src/net_processing.cpp | |
parent | 93380c5247526e2248248a7d539233ec48d11bdd (diff) |
Consider all orphan txn for compact-block-extra-txn cache
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r-- | src/net_processing.cpp | 2 |
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; |