go-ethereum/trie
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
..
committer.go trie: update comments + err check for preimages (#25672) 2022-09-08 12:36:07 +02:00
database.go trie: update comments + err check for preimages (#25672) 2022-09-08 12:36:07 +02:00
database_test.go trie: there's no point in retrieving the metaroot 2019-04-05 13:09:28 +03:00
encoding.go trie: use stacktrie for Derivesha operation (#21407) 2020-09-29 17:38:13 +02:00
encoding_test.go trie: use stacktrie for Derivesha operation (#21407) 2020-09-29 17:38:13 +02:00
errors.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
hasher.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
iterator.go core, trie: rework trie committer (#25320) 2022-08-04 11:03:20 +03:00
iterator_test.go core: use TryGetAccount to read what TryUpdateAccount has written (#25458) 2022-08-04 16:13:18 +02:00
node.go trie: improve node rlp decoding performance (#25357) 2022-08-19 00:39:47 +02:00
node_enc.go rlp, trie: faster trie node encoding (#24126) 2022-03-09 14:45:17 +01:00
node_test.go trie: improve node rlp decoding performance (#25357) 2022-08-19 00:39:47 +02:00
nodeset.go core, trie: rework trie committer (#25320) 2022-08-04 11:03:20 +03:00
preimages.go core, trie, eth, cmd: rework preimage store (#25287) 2022-07-27 20:37:04 +02:00
proof.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
proof_test.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
secure_trie.go trie: update comments + err check for preimages (#25672) 2022-09-08 12:36:07 +02:00
secure_trie_test.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
stacktrie.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
stacktrie_test.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
sync.go trie: check childrens' existence concurrently for snap heal 2022-09-06 12:57:03 +03:00
sync_test.go core: use TryGetAccount to read what TryUpdateAccount has written (#25458) 2022-08-04 16:13:18 +02:00
trie.go trie: update comments + err check for preimages (#25672) 2022-09-08 12:36:07 +02:00
trie_test.go core, trie: rework trie committer (#25320) 2022-08-04 11:03:20 +03:00
util_test.go trie: fix unhandled error in test (#25628) 2022-09-02 18:07:55 +02:00
utils.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00