Hi all,
So I have a question about the principle of stale blocks. I understand the transactions of a stale block are sent back to the mempool. But what happens if a transaction is also included in the confirmed block already? It will then be in a confirmed block ánd the mempool.
Case:
- Block A:
- TxA
- TxB
- TxC
- Block B:
- TxC
- TxD
- TxE
Imagine block A being dropped (stale). This means TxA, TxB and TxC are returned to the mempool. However, TxC is actually mined in Block B as well.
Now I am pretty sure this transaction won’t be added in the blockchain twice, so basically, I am wondering, how are such transactions deduplicated?