diff options
| author | Matt Corallo <[email protected]> | 2017-01-09 14:38:16 -0500 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2017-01-10 14:48:42 -0500 |
| commit | 7f8c8cab1e537809848088d3bfaa13ecca7ac8cc (patch) | |
| tree | 3e0d5a7cbbac21b2733614bb47fec7eb09cb2d38 /src/net_processing.cpp | |
| parent | Use replaced transactions in compact block reconstruction (diff) | |
| download | discoin-7f8c8cab1e537809848088d3bfaa13ecca7ac8cc.tar.xz discoin-7f8c8cab1e537809848088d3bfaa13ecca7ac8cc.zip | |
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 8e23e54e0..bdcfacc06 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; |