go-ethereum/eth
Daniel Liu cf6c595dd0
eth/filters, ethclient/gethclient: add fullTx option to pending tx filter #25186 #26189 (#1372)
* eth/filters, ethclient/gethclient: add fullTx option to pending tx filter #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>

* ethclient: docs, fix misleading comment #26189

---------

Co-authored-by: lmittmann <lmittmann@users.noreply.github.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
2025-08-22 16:44:51 +08:00
..
bft add syncinfo pool (#1236) 2025-07-28 01:43:41 -07:00
downloader all: introduce trie owner notion #24750 (#1090) 2025-08-22 16:37:39 +08:00
ethconfig all: disable recording preimage of trie keys #21402 (#1054) 2025-06-17 13:10:47 +08:00
fetcher all: simplify timestamps to uint64 #19372 (#1318) 2025-08-08 10:33:37 +08:00
filters eth/filters, ethclient/gethclient: add fullTx option to pending tx filter #25186 #26189 (#1372) 2025-08-22 16:44:51 +08:00
gasprice eth/gasprice: sanity check ratio values (#31270) 2025-03-14 08:04:02 +08:00
hooks Consecutive penalty upgrade (#1053) 2025-06-25 01:12:56 -07:00
tracers eth/tracers: expose contextual infos (block hash, tx hash, tx index) #23104 (#1256) 2025-08-22 16:40:18 +08:00
util feat: add TIPEpochHalving, better style 2025-03-25 22:16:35 +08:00
api.go all: snapshot dump + unify with trie dump #22795 (#1205) 2025-08-22 16:39:28 +08:00
api_backend.go eth: add error when accessing missing block state #18346 (#1355) 2025-08-20 14:35:07 +08:00
api_test.go all: snapshot dump + unify with trie dump #22795 (#1205) 2025-08-22 16:39:28 +08:00
backend.go all: Remove concept of public/private API definitions #25053 (#1141) 2025-06-24 15:15:25 +08:00
backend_test.go Move consensus hooks to its own package 2021-10-10 16:04:32 +11:00
bloombits.go core, eth, params: make indexer configurable (#17188) 2025-03-10 15:41:53 +08:00
handler.go eth: skip VerifyHeader in traceBlock to fix #1185 (#1265) 2025-07-26 18:18:50 +08:00
handler_test.go Revert EIP-2464 2024-08-24 02:31:27 +07:00
helper_test.go core: move genesis alloc types to core/types (#29003) 2025-01-24 16:54:12 +08:00
metrics.go metrics, cmd/XDC: change init-process of metrics (#30814) 2024-12-13 14:00:14 +08:00
peer.go all: use github.com/deckarep/golang-set/v2 (generic set) (#26159) 2025-01-24 16:54:11 +08:00
protocol.go core: remove unused error from TxPool.Pending (#23720) 2024-11-01 11:36:53 +08:00
protocol_test.go eth: set networkID to chainId by default (#28250) 2025-02-17 09:17:31 +08:00
state_accessor.go eth/tracers: move tracing APIs into eth/tracers #22161 #22473 (#1252) 2025-08-08 10:25:43 +08:00
sync.go core: remove unused error from TxPool.Pending (#23720) 2024-11-01 11:36:53 +08:00
sync_test.go Revert EIP-2464 2024-08-24 02:31:27 +07:00