go-ethereum/eth
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
..
catalyst build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
downloader build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
ethconfig all: move genesis initialization to blockchain (#25523) 2022-08-30 18:22:28 +02:00
fetcher all: cleanup tests (#25641) 2022-09-07 20:21:59 +02:00
filters all: cleanup tests (#25641) 2022-09-07 20:21:59 +02:00
gasprice build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
protocols build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
tracers build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
api_backend.go eth, les: rework chain tracer (#25143) 2022-09-07 20:25:58 +02:00
api_test.go core, trie, eth, cmd: rework preimage store (#25287) 2022-07-27 20:37:04 +02:00
api.go eth, les: rework chain tracer (#25143) 2022-09-07 20:25:58 +02:00
backend.go all: move genesis initialization to blockchain (#25523) 2022-08-30 18:22:28 +02:00
bloombits.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
handler_eth_test.go all: cleanup tests (#25641) 2022-09-07 20:21:59 +02:00
handler_eth.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
handler_snap.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
handler_test.go all: cleanup tests (#25641) 2022-09-07 20:21:59 +02:00
handler.go cmd, core, eth, les, params: add merge-passed chain config (#24538) 2022-08-01 15:13:25 +03:00
peer.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
peerset.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
state_accessor.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
sync_test.go eth: introduce eth67 protocol (#24093) 2022-06-15 12:56:47 +02:00
sync.go cmd, core, eth, les, params: add merge-passed chain config (#24538) 2022-08-01 15:13:25 +03:00