Great point. Does anyone know how Bitcoin Core currently works in this regards? Is every transaction in a block (re-) verified? Or are the transactions first hashed, and if matched to a TX in mempool not re-verified, thus saving time.
It would be stupid to forward unverified txns, and it would also be stupid to verify them twice. Easy to fix, so there's no reason for it to verify twice.
https://github.com/bitcoin/bitcoin/pull/5835Thanks. So it looks like the fix was implemented this February, and that now TXs are not re-verified if they're already in mempool?