upgrade badger and quic #233
Annotations
10 errors and 11 warnings
lint:
crypto/blake2b_test.go#L58
Error return value of `x.Read` is not checked (errcheck)
|
lint:
rpc/consensus_test.go#L88
Error return value of `server.ListenAndServe` is not checked (errcheck)
|
lint:
rpc/consensus_test.go#L89
Error return value of `node.Loop` is not checked (errcheck)
|
lint:
rpc/consensus_test.go#L668
Error return value of `pnode.Loop` is not checked (errcheck)
|
lint:
rpc/consensus_test.go#L671
Error return value of `server.ListenAndServe` is not checked (errcheck)
|
lint:
rpc/consensus_test.go#L852
Error return value of `server.ListenAndServe` is not checked (errcheck)
|
lint:
rpc/consensus_test.go#L853
Error return value of `node.Loop` is not checked (errcheck)
|
lint:
main.go#L726
Error return value of `http.ListenAndServe` is not checked (errcheck)
|
lint:
common/validation.go#L248
cognitive complexity 37 of func `(*Transaction).validateOutputs` is high (> 30) (gocognit)
|
lint:
common/decoding.go#L102
cognitive complexity 34 of func `(*Decoder).DecodeTransaction` is high (> 30) (gocognit)
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint:
util/base58/base58check_test.go#L61
redefines-builtin-id: redefinition of the built-in function len (revive)
|
lint:
config/reader.go#L14
var-naming: const KernelNetworkId should be KernelNetworkID (revive)
|
lint:
crypto/signature.go#L66
receiver-naming: receiver name publicKey should be consistent with previous receiver name privateKey for Key (revive)
|
lint:
crypto/signature.go#L81
receiver-naming: receiver name publicKey should be consistent with previous receiver name privateKey for Key (revive)
|
lint:
crypto/rand.go#L32
increment-decrement: should replace set[b] += 1 with set[b]++ (revive)
|
lint:
crypto/blake2b_test.go#L18
unexported-return: exported func NewBlake2bXOF returns unexported type *crypto.xof, which can be annoying to use (revive)
|
lint:
crypto/rand.go#L10
unexported-return: exported func RandReader returns unexported type *crypto.randReader, which can be annoying to use (revive)
|
lint:
common/encoding.go#L207
increment-decrement: should replace off += 1 with off++ (revive)
|
lint:
common/decoding.go#L125
increment-decrement: should replace il -= 1 with il-- (revive)
|
lint:
common/decoding.go#L137
increment-decrement: should replace ol -= 1 with ol-- (revive)
|