Skip to content

headerQueue

Source (upstream pre-purge) Current
File eth/downloader/fetchers_concurrent_headers.go fetchers_concurrent_headers_pow.go
Symbol headerQueue headerQueue
Ref 45baf2111~1 etc/v1.17.3-full-node

3-way merge — purge → getc ← upstream

pre-purgefork-only
// headerQueue implements typedQueue and is a type adapter between the generic
// concurrent fetcher and the downloader.
type headerQueue struct {
d *Downloader
queue *queueWithHeaders
}
core-geth validation — +4 -1 | | | |---|---| | File | [`fetchers_concurrent_headers.go`](https://github.com/etclabscore/core-geth/blob/v1.12.20/eth/downloader/fetchers_concurrent_headers.go) | | Symbol | `headerQueue` | | Ref | `v1.12.20` |
--- a/core-geth/eth/downloader/fetchers_concurrent_headers.go
+++ b/etc/eth/downloader/fetchers_concurrent_headers_pow.go
@@ -1,3 +1,6 @@
 // headerQueue implements typedQueue and is a type adapter between the generic
 // concurrent fetcher and the downloader.
-type headerQueue Downloader
+type headerQueue struct {
+   d     *Downloader
+   queue *queueWithHeaders
+}

← Sync & Downloader