plugeth/node
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_test.go all: remove concept of public/private API definitions (#25053) 2022-06-21 12:05:43 +03:00
api.go all: remove version field from rpc.API 2022-06-27 12:39:46 +02:00
config_test.go node: remove noop path.Join (#25475) 2022-08-04 10:42:03 +03:00
config.go node, rpc: add JWT auth support in client (#24911) 2022-09-02 17:40:41 +02:00
defaults.go core: eth: implement Kiln-v2 spec (#24506) 2022-03-17 17:20:03 +02:00
doc.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
endpoints.go node, rpc: add ReadHeaderTimeout config option (#25338) 2022-08-03 16:50:12 +02:00
errors.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
jwt_auth.go node, rpc: add JWT auth support in client (#24911) 2022-09-02 17:40:41 +02:00
jwt_handler.go node: change JWT error status to 401 Unauthorized (#25629) 2022-08-30 15:25:02 +02:00
lifecycle.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
node_auth_test.go node, rpc: add JWT auth support in client (#24911) 2022-09-02 17:40:41 +02:00
node_example_test.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
node_test.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
node.go node, rpc: add JWT auth support in client (#24911) 2022-09-02 17:40:41 +02:00
rpcstack_test.go node: fix regression in TestJWT (#25635) 2022-08-30 16:41:09 +02:00
rpcstack.go node, rpc: add ReadHeaderTimeout config option (#25338) 2022-08-03 16:50:12 +02:00
utils_test.go all: remove version field from rpc.API 2022-06-27 12:39:46 +02:00