plugeth/trie
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
..
committer.go trie: move locking into trieDB insert method (#25030) 2022-06-07 08:02:04 +02:00
database_test.go trie: there's no point in retrieving the metaroot 2019-04-05 13:09:28 +03:00
database.go trie: move locking into trieDB insert method (#25030) 2022-06-07 08:02:04 +02:00
encoding_test.go trie: use stacktrie for Derivesha operation (#21407) 2020-09-29 17:38:13 +02:00
encoding.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 all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
iterator_test.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
iterator.go trie: fix two issues in trie iterator (#24539) 2022-03-15 10:23:37 +01:00
node_enc.go rlp, trie: faster trie node encoding (#24126) 2022-03-09 14:45:17 +01:00
node_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
node.go rlp, trie: faster trie node encoding (#24126) 2022-03-09 14:45:17 +01:00
proof_test.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
proof.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
secure_trie_test.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
secure_trie.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
stacktrie_test.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
stacktrie.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
sync_test.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
sync.go eth/protocols/snap: sort trienode heal requests by path (#24779) 2022-05-10 17:37:24 +03:00
trie_test.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
trie.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
util_test.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
utils.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00