-
Notifications
You must be signed in to change notification settings - Fork 219
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
feat(rpc): add a method to remove a transaction from tx-pool #3170
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the RPC mainly serves "clear some transaction(big cycle transaction, etc.)" and "single node test"
This RPC only provides a new operation, how to use this RPC based on people's imagination. There is no limit. |
a5d154f
to
f76a3a6
Compare
bors r= quake,zhangsoledad |
3170: feat(rpc): add a method to remove a transaction from tx-pool r=quake,zhangsoledad a=yangby-cryptape ### What problem does this PR solve? If there are some transactions in tx pool, but we want to delete them, at present, the only way is to clear the whole tx pool. This PR add a new RPC to remove a transaction from tx pool via its hash. ### Check List Tests - Integration test ### Release note ```release-note Title Only: Include only the PR title in the release note. ``` Co-authored-by: Boyu Yang <yangby@cryptape.com>
Build failed: |
bors r= quake,zhangsoledad |
What problem does this PR solve?
If there are some transactions in tx pool, but we want to delete them, at present, the only way is to clear the whole tx pool.
This PR add a new RPC to remove a transaction from tx pool via its hash.
Check List
Tests
Release note