mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
* refactor(txpool): remove wrapper type #27841 Partial backport of ethereum/go-ethereum PR #27841, limited to txpool wrapper removal. - Migrate txpool interfaces/call sites from `*txpool.Transaction` to `*types.Transaction` - Update eth/miner/contracts paths and related tests accordingly - No intended behavior change Blob sidecar validation/handling changes from upstream are not included here. * refactor(core/txpool): migrate tx subscription to SubscribeTransactions #28243 Replace the old SubscribeNewTxsEvent-style plumbing with the new SubscribeTransactions(ch, reorgs) interface across txpool, eth protocol manager, API backend, miner worker, and test helpers. Key changes: - Extend txpool/subpool tx subscription interface with a reorgs flag - Route eth tx announcement path to reorgs=false (new tx announcements only) - Route API/miner subscriptions to reorgs=true - Move subscription-scope cleanup to TxPool.Close() - Add Gas field to LazyTransaction in legacy pending view Note: LegacyPool currently cannot strictly separate newly seen and resurrected txs, so the reorgs flag is accepted for API compatibility and future blob-subpool integration. |
||
|---|---|---|
| .. | ||
| bft | ||
| downloader | ||
| ethconfig | ||
| fetcher | ||
| filters | ||
| gasestimator | ||
| gasprice | ||
| hooks | ||
| tracers | ||
| util | ||
| api.go | ||
| api_admin.go | ||
| api_backend.go | ||
| api_debug.go | ||
| api_debug_test.go | ||
| api_miner.go | ||
| backend.go | ||
| backend_test.go | ||
| bloombits.go | ||
| handler.go | ||
| handler_test.go | ||
| helper_test.go | ||
| metrics.go | ||
| peer.go | ||
| protocol.go | ||
| protocol_test.go | ||
| state_accessor.go | ||
| sync.go | ||
| sync_test.go | ||