We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f956de8 commit b67beccCopy full SHA for b67becc
ouroboros-network/src/Ouroboros/Network/TxSubmission/Inbound/V2/State.hs
@@ -124,6 +124,9 @@ acknowledgeTxIds
124
toMempoolTxs' = toMempoolTxs <> txsToMempoolMap
125
126
(downloadedTxs', ackedDownloadedTxs) = Map.partitionWithKey (\txid _ -> txid `Set.member` liveSet) downloadedTxs
127
+ -- latexTxs: transactions which were downloaded by another peer before we
128
+ -- downloaded them; it relies on that `txToMempool` filters out
129
+ -- `bufferedTxs`.
130
lateTxs = Map.filterWithKey (\txid _ -> txid `Map.notMember` txsToMempoolMap) ackedDownloadedTxs
131
score' = score + fromIntegral (Map.size lateTxs)
132
0 commit comments