Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mempool: fix error handling - allow mempool to reject txs with missingoutpoints #2109

Closed

Conversation

D-Stacks
Copy link
Contributor

@D-Stacks D-Stacks commented Jun 27, 2022

this is a similiar bug encountered in #2039, which caused the node to crash via rpc commands.

In this case we are not registering the transaction as having missing outpoints, via error handling. which allows allows malformed transactions to enter the transaction pool. it also causes transactions to stay in the mempool and not failing re-evaluation, and probably all other sorts of unforeseen consquences in the mempool.

@D-Stacks
Copy link
Contributor Author

cases are not identical. rulerror is not a pointer.

@D-Stacks D-Stacks closed this Jun 27, 2022
@D-Stacks D-Stacks deleted the fix-error-handling-in-mempool branch June 30, 2022 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant