prepare to deprecate the legacy peer through port param #104
Annotations
10 errors and 10 warnings
lint:
p2p/handle.go#L610
`marshalPeers` is unused (deadcode)
|
lint:
p2p/handle.go#L620
`unmarshalPeers` is unused (deadcode)
|
lint:
common/transaction.go#L26
`outputTypeNodeResign` is unused (deadcode)
|
lint:
common/transaction.go#L40
`transactionTypeNodeResign` is unused (deadcode)
|
lint:
kernel/node.go#L703
703-735 lines are duplicate of `kernel/node.go:757-789` (dupl)
|
lint:
kernel/node.go#L757
757-789 lines are duplicate of `kernel/node.go:703-735` (dupl)
|
lint:
crypto/blake2b_test.go#L58
Error return value of `x.Read` is not checked (errcheck)
|
lint:
p2p/handle.go#L434
Error return value of `me.handlePeerMessage` is not checked (errcheck)
|
lint:
p2p/handle.go#L534
Error return value of `peer.syncRing.Offer` is not checked (errcheck)
|
lint:
p2p/peer.go#L100
Error return value of `me.loopReceiveMessage` is not checked (errcheck)
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint:
util/base58/base58check_test.go#L61
redefines-builtin-id: redefinition of the built-in function len (revive)
|
lint:
common/custodian_test.go#L163
unused-parameter: parameter 'require' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
common/custodian.go#L217
unused-parameter: parameter 'store' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
kernel/election.go#L222
unused-parameter: parameter 's' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
rpc/custodian.go#L5
unused-parameter: parameter 'params' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
rpc/info.go#L93
unused-parameter: parameter 'params' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
rpc/http.go#L27
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
rpc/consensus_test.go#L1283
unused-parameter: parameter 'deposit' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
command.go#L1033
unused-parameter: parameter 'deposit' seems to be unused, consider removing or renaming it as _ (revive)
|