go-ethereum/eth/downloader
rjl493456442 76e3dc6b5b
Some checks are pending
/ Linux Build (push) Waiting to run
/ Linux Build (arm) (push) Waiting to run
/ Keeper Build (push) Waiting to run
/ Windows Build (push) Waiting to run
/ Docker Image (push) Waiting to run
core: improve chain reset head (#35252)
This PR does a few things:

- reject `debug_setHead` if the target is even before the pivot block
(if non-nil)
- reject `debug_setHead` if in path mode, the target is not recoverable
- decouple the chain rewinding and state recovery in path mode and
recover the state in one shot

---------

Co-authored-by: jonny rhea <5555162+jrhea@users.noreply.github.com>
2026-07-08 16:44:34 -05:00
..
api.go eth/downloader: fix test panic (#35215) 2026-06-25 13:10:54 +02:00
beacondevsync.go eth/downloader: keep current syncmode in downloader only (#33157) 2025-12-08 22:49:57 +01:00
beaconsync.go core: improve chain reset head (#35252) 2026-07-08 16:44:34 -05:00
downloader.go core: improve chain reset head (#35252) 2026-07-08 16:44:34 -05:00
downloader_test.go core: add debug log and repair the missing hash and receipts (#35190) 2026-06-23 14:46:38 +08:00
events.go eth,node: replace the deprecated TypeMux with Feed (#32585) 2026-05-08 10:12:46 +08:00
fetchers.go cmd, eth, internal: introduce debug_sync (#32177) 2025-07-28 14:57:45 +08:00
fetchers_concurrent.go eth/downloader: drop peers sending invalid bodies or receipts (#34745) 2026-04-30 17:55:26 +02:00
fetchers_concurrent_bodies.go eth/protocols/eth, eth/protocols/snap: delayed p2p message decoding (#33835) 2026-02-15 21:21:16 +08:00
fetchers_concurrent_receipts.go eth: implement EIP-7975 (eth/70 - partial block receipt lists) (#33153) 2026-03-30 15:17:37 +02:00
metrics.go eth: reserve peer slot for usable snap peer (#35180) 2026-06-17 09:55:36 +08:00
peer.go eth: implement EIP-7975 (eth/70 - partial block receipt lists) (#33153) 2026-03-30 15:17:37 +02:00
queue.go eth/downloader: use batch index in deliver reconstruct (#34870) 2026-05-05 12:41:22 +02:00
queue_test.go eth/protocols/eth, eth/protocols/snap: delayed p2p message decoding (#33835) 2026-02-15 21:21:16 +08:00
resultstore.go core, eth/downloader: implement pruning mode sync (#31414) 2025-04-03 15:16:35 +02:00
skeleton.go core: add debug log and repair the missing hash and receipts (#35190) 2026-06-23 14:46:38 +08:00
skeleton_test.go core: add debug log and repair the missing hash and receipts (#35190) 2026-06-23 14:46:38 +08:00
statesync.go core, eth/protocols/snap, eth/downloader: snap/2 sync logic (#34626) 2026-06-11 14:45:07 +08:00
syncmode.go core: improve chain reset head (#35252) 2026-07-08 16:44:34 -05:00
testchain_test.go core: consolidate BlockChain constructor options (#31925) 2025-06-19 12:21:15 +02:00