plugeth/eth/downloader
Felix Lange b628d72766
build: upgrade to go 1.19 (#25726)
This changes the CI / release builds to use the latest Go version. It also
upgrades golangci-lint to a newer version compatible with Go 1.19.

In Go 1.19, godoc has gained official support for links and lists. The
syntax for code blocks in doc comments has changed and now requires a
leading tab character. gofmt adapts comments to the new syntax
automatically, so there are a lot of comment re-formatting changes in this
PR. We need to apply the new format in order to pass the CI lint stage with
Go 1.19.

With the linter upgrade, I have decided to disable 'gosec' - it produces
too many false-positive warnings. The 'deadcode' and 'varcheck' linters
have also been removed because golangci-lint warns about them being
unmaintained. 'unused' provides similar coverage and we already have it
enabled, so we don't lose much with this change.
2022-09-10 13:25:40 +02:00
..
api.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
beaconsync.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
downloader_test.go all: cleanup tests (#25641) 2022-09-07 20:21:59 +02:00
downloader.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02: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_concurrent_bodies.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03: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
fetchers_concurrent.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
fetchers.go eth: pre-process downloader responses on the peer reader thread 2021-12-01 20:18:12 +02: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_test.go all: cleanup the APIs for initializing genesis (#25473) 2022-08-09 12:44:39 +03:00
queue.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
resultstore.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
skeleton_test.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
skeleton.go core, eth/downloader: handle spurious junk bodies from racey rollbacks (#25578) 2022-08-23 14:02:51 +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: cleanup tests (#25641) 2022-09-07 20:21:59 +02:00