koinos / koinos-mempool

The mempool microservice stores pending transactions for inclusion in blocks by the block producer.
MIT License
0 stars 1 forks source link

[BUG]: Removal of bad transactions from the mempool #43

Closed sgerbino closed 2 years ago

sgerbino commented 2 years ago

Is there an existing issue for this?

Current behavior

It is possible for a transaction that will never succeed to end up in the mempool with no way for it to be removed.

Expected behavior

I expected block production to be robust enough to never result in an unrecoverable failure.

Steps to reproduce

No response

Environment

- OS: Any

Anything else?

No response

sgerbino commented 2 years ago

Note: In koinos-chain, all writes to the pending transaction state needs to be locked in order to ensure matching ordering of pending transactions between koinos-chain and koinos-mempool.

sgerbino commented 2 years ago

This bug will be handled by koinos/koinos-chain#540.