Creating this issue to track the problem described in #229 (specially this comment).
I did not investigate this yet, but I think this is related to this code, which removes included transactions from the mempool, only runs for the tip block of the included blocks:
Creating this issue to track the problem described in #229 (specially this comment).
I did not investigate this yet, but I think this is related to this code, which removes included transactions from the mempool, only runs for the tip block of the included blocks:
It should instead run for all blocks in the reorg.
Also, we should add rolled-back block transactions back to the mempool. That's probably the expected behaviour.
@racs4