go-ethereum/node
Martin Holst Swende a907d7e81a
all: more linters (#24783)
This enables the following linters

- typecheck
- unused
- staticcheck
- bidichk
- durationcheck
- exportloopref
- gosec

WIth a few exceptions.

- We use a deprecated protobuf in trezor. I didn't want to mess with that, since I cannot meaningfully test any changes there.
- The deprecated TypeMux is used in a few places still, so the warning for it is silenced for now.
- Using string type in context.WithValue is apparently wrong, one should use a custom type, to prevent collisions between different places in the hierarchy of callers. That should be fixed at some point, but may require some attention.
- The warnings for using weak random generator are squashed, since we use a lot of random without need for cryptographic guarantees.
2022-06-13 16:24:45 +02:00
..
api.go cmd/geth, node, rpc: implement jwt tokens (#24364) 2022-03-07 09:30:27 +02:00
api_test.go internal/web3ext, node: migrate node admin API (Start|Stop)RPC->HTTP (#22461) 2021-03-23 11:41:23 +02:00
config.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
config_test.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
defaults.go core: eth: implement Kiln-v2 spec (#24506) 2022-03-17 17:20:03 +02:00
doc.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
endpoints.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
errors.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
jwt_handler.go cmd/geth, node, rpc: implement jwt tokens (#24364) 2022-03-07 09:30:27 +02:00
lifecycle.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
node.go node: allow JWT pass by file only (#24579) 2022-03-24 15:04:47 +01:00
node_example_test.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
node_test.go all: use T.TempDir to create temporary test directories (#24633) 2022-04-08 15:44:55 +02:00
rpcstack.go all: use strings.EqualFold for string comparison (#24890) 2022-05-17 13:56:52 +02:00
rpcstack_test.go node: make jwt test less dependent on time (#25016) 2022-06-02 20:21:35 +02:00
utils_test.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00