go-ethereum/light
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
..
lightchain.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
lightchain_test.go consensus/clique, core: API cleanup (#23100) 2021-10-11 23:16:46 +02:00
nodeset.go all: integrate the freezer with fast sync 2019-05-16 10:39:32 +03:00
odr.go les, light: improve txstatus retrieval (#22349) 2021-02-25 14:24:04 +01:00
odr_test.go all: cleanup tests (#25641) 2022-09-07 20:21:59 +02:00
odr_util.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
postprocess.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
trie.go core, light, trie: remove DiskDB function from trie database (#25690) 2022-09-07 09:08:56 +02:00
trie_test.go all: cleanup tests (#25641) 2022-09-07 20:21:59 +02:00
txpool.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
txpool_test.go all: cleanup tests (#25641) 2022-09-07 20:21:59 +02:00