Skip to content

chainSyncer

Source (upstream pre-purge) Current
File eth/sync.go sync_pow.go
Symbol chainSyncer chainSyncer
Ref f4d53133f~1 etc/v1.17.3-full-node

3-way merge — purge → getc ← upstream

pre-purge
// chainSyncer coordinates blockchain sync components.
type chainSyncer struct {
handler *handler
force *time.Timer
forced bool // true when force timer fired
peerEventCh chan struct{}
doneCh chan error // non-nil when sync is running
}
core-geth validation — +0 -1 | | | |---|---| | File | [`sync.go`](https://github.com/etclabscore/core-geth/blob/v1.12.20/eth/sync.go) | | Symbol | `chainSyncer` | | Ref | `v1.12.20` |
--- a/core-geth/eth/sync.go
+++ b/etc/eth/sync_pow.go
@@ -3,7 +3,6 @@
    handler     *handler
    force       *time.Timer
    forced      bool // true when force timer fired
-   warned      time.Time
    peerEventCh chan struct{}
    doneCh      chan error // non-nil when sync is running
 }

← Sync & Downloader