go-ethereum/eth/downloader
Delweng 649deb69f3
eth/downloader: fix rare crash when parent header missing in db (#27945)
ReadSkeletonHeader can return nil if the header is missing, so we should
not access fields on it. Note that calling .Hash() on a nil header is fine, so there 
is no need to actually check for nil.

Co-authored-by: Martin Holst Swende <martin@swende.se>
2023-08-17 23:15:29 +02:00
..
api.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
beaconsync.go eth/downloader: use atomic types (#27030) 2023-04-03 22:48:10 +03:00
downloader.go eth/downloader: fix error aggregator (#27217) 2023-05-05 08:55:32 +03:00
downloader_test.go all: remove notion of trusted checkpoints in the post-merge world (#27147) 2023-04-24 09:37:10 +03:00
events.go cmd,eth: 16400 Add an option to stop geth once in sync. WIP for light mode (#17321) 2019-01-30 08:40:36 +01:00
fetchers.go eth: pre-process downloader responses on the peer reader thread 2021-12-01 20:18:12 +02:00
fetchers_concurrent.go eth/downloader: fix timeout resurrection panic (#26652) 2023-02-09 14:56:15 +02:00
fetchers_concurrent_bodies.go all: implement withdrawals (EIP-4895) (#26484) 2023-01-25 15:32:25 +01:00
fetchers_concurrent_headers.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
fetchers_concurrent_receipts.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
metrics.go eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
modes.go eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
peer.go eth, les: unlock downloader peerSet if there's an error (#25546) 2022-08-19 09:02:47 +03:00
queue.go core/types: support for optional blob sidecar in BlobTx (#27841) 2023-08-14 10:13:34 +02:00
queue_test.go core/types, params: add blob transaction type, RLP encoded for now (#27049) 2023-04-21 12:52:02 +03:00
resultstore.go eth/downloader: use atomic types (#27030) 2023-04-03 22:48:10 +03:00
skeleton.go eth/downloader: fix rare crash when parent header missing in db (#27945) 2023-08-17 23:15:29 +02:00
skeleton_test.go eth/downloader: use atomic types (#27030) 2023-04-03 22:48:10 +03:00
statesync.go eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
testchain_test.go all: activate pbss as experimental feature (#26274) 2023-08-10 22:21:36 +03:00