go-ethereum/les
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
checkpointoracle all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
downloader build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
fetcher all: cleanup the APIs for initializing genesis (#25473) 2022-08-09 12:44:39 +03:00
flowcontrol all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
utils all: use AbsTime.Add instead of conversion (#25417) 2022-07-29 18:23:30 +02:00
vflux all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
api_backend.go eth, les: rework chain tracer (#25143) 2022-09-07 20:25:58 +02:00
api_test.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
api.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
benchmark.go all: add support for EIP-2718, EIP-2930 transactions (#21502) 2021-02-25 15:26:57 +01:00
bloombits.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
client_handler.go core, eth, les, trie: remove the sync bloom, used by fast sync 2021-12-03 12:32:41 +02:00
client.go all: move genesis initialization to blockchain (#25523) 2022-08-30 18:22:28 +02:00
commons.go les: fix balance expiration (#22343) 2021-02-19 15:53:12 +01:00
costtracker.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
distributor_test.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
distributor.go all: use AbsTime.Add instead of conversion (#25417) 2022-07-29 18:23:30 +02:00
enr_entry.go cmd/devp2p: skip ENR field tails properly in nodeset filter (#22565) 2021-03-24 12:32:39 +01:00
fetcher_test.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
fetcher.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
handler_test.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
metrics.go les: polish code (#22625) 2021-04-27 09:44:59 +02:00
odr_requests.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.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
peer_test.go all: cleanup the APIs for initializing genesis (#25473) 2022-08-09 12:44:39 +03:00
peer.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
protocol.go eth/protocols/eth, les: avoid Raw() when decoding HashOrNumber (#22841) 2021-05-10 12:38:54 +02:00
pruner_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
pruner.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
request_test.go les, light: improve txstatus retrieval (#22349) 2021-02-25 14:24:04 +01:00
retrieve.go les: generate random nums directly, not via strange conversions 2021-05-21 12:36:04 +03:00
server_handler.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
server_requests.go tests/fuzzers: fix goroutine leak in les fuzzer (#22455) 2021-03-16 09:43:33 +01:00
server.go all: remove version field from rpc.API 2022-06-27 12:39:46 +02:00
servingqueue.go les: avoid shutdown hang (#23139) 2021-07-01 14:01:19 +02:00
state_accessor.go eth, les: rework chain tracer (#25143) 2022-09-07 20:25:58 +02:00
sync_test.go les: fix data races in tests (#23457) 2021-08-25 11:56:25 +02:00
sync.go les: duplicate downloader and fetcher to allow progressive refactoring 2021-09-10 11:11:59 +03:00
test_helper.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
txrelay.go les: generate random nums directly, not via strange conversions 2021-05-21 12:36:04 +03:00
ulc_test.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
ulc.go cmd, eth, les: fix up ultra light config integration 2019-07-09 20:34:42 +03:00