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

eth/filters, ethclient/gethclient: add fullTx option to pending tx filter #903

Closed
wants to merge 1 commit into from

Conversation

lmittmann
Copy link
Contributor

This PR is a cherry-pick of go-ethereum#25186. It adds an option to subscribe to full pending transactions.

This PR adds a way to subscribe to the full pending transactions, as opposed to just being notified about hashes.

In use cases where client subscribes to newPendingTransactions and gets txhashes only to then request the actual transaction, the caller can now shortcut that flow and obtain the transactions directly.

…lter (#25186)

This PR adds a way to subscribe to the _full_ pending transactions, as opposed to just being notified about hashes.

In use cases where client subscribes to newPendingTransactions and gets txhashes only to then request the actual transaction, the caller can now shortcut that flow and obtain the transactions directly.

Co-authored-by: Felix Lange <fjl@twurst.com>
@manav2401
Copy link
Contributor

Hey @lmittmann, thanks for the PR. We're already in process of merging the upstream geth changes (#901) and this change will be a part of it. We'd like to have this change as a part of that PR. Closing this for now, thanks!

@manav2401 manav2401 closed this Jun 22, 2023
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.

None yet

2 participants