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

Batch cancellation of transactions #1403

Closed
danfinlay opened this issue Sep 11, 2018 · 4 comments
Closed

Batch cancellation of transactions #1403

danfinlay opened this issue Sep 11, 2018 · 4 comments
Labels

Comments

@danfinlay
Copy link
Contributor

Sometimes a user has a series of transactions pending that they want to invalidate urgently and atomically.

Currently the best solution is to submit a replacement "zero value" tx for each of the pending txs, with an increase of gas, and hope that miners mine the cancellation transactions first.

This creates a lot of on-chain traffic just for batch cancellation, and can result in inconsistent results, where some dependent transactions are processed when earlier ones were successfully "cancelled".

One way this could be alleviated would be if transactions could have "nonce spans" that included a range of nonces from the current valid nonce to a future nonce, incrementing the account nonce by a user-specified amount, and invalidating any transactions with a nonce below the resulting nonce.

Thoughts? Other approaches?

@bragadino
Copy link

Approaching the issue in a very naive way. Can we enable the sender to submit a "cancellation" tx, where when broadcasted nodes would drop the previous transaction(s) when their first or last transaction bytes match.

@kevinsimper
Copy link

This issue resembles this issue a bit in that you want to have a way to easier cancel transactions #599

@github-actions
Copy link

github-actions bot commented Dec 4, 2021

There has been no activity on this issue for two months. It will be closed in a week if no further activity occurs. If you would like to move this EIP forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review.

@github-actions github-actions bot added the stale label Dec 4, 2021
@github-actions
Copy link

This issue was closed due to inactivity. If you are still pursuing it, feel free to reopen it and respond to any feedback or request a review in a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants