plugeth/eth
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
..
catalyst eth/catalyst: remove unauthenticated 'engine' api (#24997) 2022-06-08 15:36:25 +02:00
downloader all: more linters (#24783) 2022-06-13 16:24:45 +02:00
ethconfig all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
fetcher all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
filters all: more linters (#24783) 2022-06-13 16:24:45 +02:00
gasprice graphql: fee history fields (#24452) 2022-03-10 13:59:22 +01:00
protocols all: more linters (#24783) 2022-06-13 16:24:45 +02:00
tracers all: more linters (#24783) 2022-06-13 16:24:45 +02:00
api_backend.go core, eth, internal, rpc: implement final block (#24282) 2022-05-18 17:30:42 +03:00
api_test.go cmd/geth, eth, core: snapshot dump + unify with trie dump (#22795) 2021-05-12 11:05:39 +03:00
api.go eth/api: use hexutil.Bytes for account range method (#25024) 2022-06-06 17:33:05 +02:00
backend.go eth, les, params: log chain config a bit saner (#24904) 2022-06-07 12:49:07 +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: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +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 eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
handler.go cmd, eth: fix required blocks regression 2022-05-04 19:55:17 +03:00
peer.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
peerset.go eth/downloader: implement beacon sync (#23982) 2022-03-11 14:14:45 +02:00
state_accessor.go all: core rework for the merge transition (#23761) 2021-11-26 13:23:02 +02:00
sync_test.go eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
sync.go core: eth: implement Kiln-v2 spec (#24506) 2022-03-17 17:20:03 +02:00