feat: consensus mimicry #64
Annotations
10 errors and 2 warnings
lint:
pkg/consensus/mimicry/host/host.go#L279
importShadow: shadow of imported package 'net' (gocritic)
|
lint:
pkg/consensus/mimicry/host/host.go#L291
importShadow: shadow of imported package 'net' (gocritic)
|
lint:
pkg/consensus/mimicry/host/host.go#L304
importShadow: shadow of imported package 'net' (gocritic)
|
lint:
pkg/consensus/mimicry/host/host.go#L213
func `(*Node).createLocalNode` is unused (unused)
|
lint:
pkg/discovery/peer.go#L27
SA1019: elliptic.Marshal has been deprecated since Go 1.21: for ECDH, use the crypto/ecdh package. This function returns an encoding equivalent to that of PublicKey.Bytes in crypto/ecdh. (staticcheck)
|
lint:
pkg/consensus/mimicry/crawler/metrics.go#L69
builtinShadow: shadowing of predeclared identifier: error (gocritic)
|
lint:
pkg/consensus/mimicry/crawler/crawler.go#L49
field `ctx` is unused (unused)
|
lint:
pkg/consensus/mimicry/crawler/req_handlers.go#L32
only one cuddle assignment allowed before if statement (wsl)
|
lint:
pkg/consensus/mimicry/crawler/crawler.go#L289
ST1016: methods on the same type should have the same receiver name (seen 26x "c", 8x "n") (stylecheck)
|
lint
issues found
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/ethcore/ethcore. Supported file pattern: go.sum
|