Skip to content

Commit 7f8c8ca

Browse files
committed
Consider all orphan txn for compact-block-extra-txn cache
1 parent 93380c5 commit 7f8c8ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/net_processing.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,8 @@ bool AddOrphanTx(const CTransactionRef& tx, NodeId peer) EXCLUSIVE_LOCKS_REQUIRE
626626
mapOrphanTransactionsByPrev[txin.prevout].insert(ret.first);
627627
}
628628

629+
AddToCompactExtraTransactions(tx);
630+
629631
LogPrint("mempool", "stored orphan tx %s (mapsz %u outsz %u)\n", hash.ToString(),
630632
mapOrphanTransactions.size(), mapOrphanTransactionsByPrev.size());
631633
return true;

0 commit comments

Comments
 (0)