Open phklive opened 9 months ago
I would focus this issue on the first point (Implement logic for transaction discarding). Basically, assuming that a transaction passes the verification process and gets into the queue, if for w/e reason, it prevents the block producer from building a block (the most likely reason for this would be a bug somewhere in the block producer), we should discard that transaction.
Transactions that are received by the
Block Producer
but that are not valid are stuck in the queue forever and can prevent the node from building further batches ( Deadlock ).Hence we need a better solution / improvement to the transaction handling in the queue:
GOAL: Implement more robust transaction handling and queue management