go-ethereum/p2p
Felix Lange 689486449d build: use golangci-lint (#20295)
* build: use golangci-lint

This changes build/ci.go to download and run golangci-lint instead
of gometalinter.

* core/state: fix unnecessary conversion

* p2p/simulations: fix lock copying (found by go vet)

* signer/core: fix unnecessary conversions

* crypto/ecies: remove unused function cmpPublic

* core/rawdb: remove unused function print

* core/state: remove unused function xTestFuzzCutter

* core/vm: disable TestWriteExpectedValues in a different way

* core/forkid: remove unused function checksum

* les: remove unused type proofsData

* cmd/utils: remove unused functions prefixedNames, prefixFor

* crypto/bn256: run goimports

* p2p/nat: fix goimports lint issue

* cmd/clef: avoid using unkeyed struct fields

* les: cancel context in testRequest

* rlp: delete unreachable code

* core: gofmt

* internal/build: simplify DownloadFile for Go 1.11 compatibility

* build: remove go test --short flag

* .travis.yml: disable build cache

* whisper/whisperv6: fix ineffectual assignment in TestWhisperIdentityManagement

* .golangci.yml: enable goconst and ineffassign linters

* build: print message when there are no lint issues

* internal/build: refactor download a bit
2019-11-18 10:49:17 +02:00
..
discover cmd/devp2p, p2p: dial using node iterator, discovery crawler (#20132) 2019-10-29 17:08:57 +02:00
discv5 p2p/enode, p2p/discv5: fix URL parsing test for go 1.12.8 (#19963) 2019-08-15 10:36:36 +02:00
dnsdisc p2p/dnsdisc: update to latest EIP-1459 spec (#20168) 2019-10-16 14:35:24 +03:00
enode p2p/enode: mock DNS resolver in URL parsing test (#20252) 2019-11-07 16:40:37 +01:00
enr core/forkid: implement the forkid EIP, announce via ENR (#19738) 2019-07-08 18:53:47 +03:00
nat build: use golangci-lint (#20295) 2019-11-18 10:49:17 +02:00
netutil all: update author list and licenses 2019-07-22 12:17:27 +03:00
simulations build: use golangci-lint (#20295) 2019-11-18 10:49:17 +02:00
testing all: update author list and licenses 2019-07-22 12:17:27 +03:00
dial.go dashboard: send current block to the dashboard client (#19762) 2019-11-13 12:13:13 +01:00
dial_test.go cmd/devp2p, p2p: dial using node iterator, discovery crawler (#20132) 2019-10-29 17:08:57 +02:00
message.go p2p: measure subprotocol bandwidth usage 2019-09-27 18:00:25 +03:00
message_test.go all: fix go vet warnings 2016-04-15 11:17:27 +02:00
metrics.go dashboard: send current block to the dashboard client (#19762) 2019-11-13 12:13:13 +01:00
peer.go p2p: measure subprotocol bandwidth usage 2019-09-27 18:00:25 +03:00
peer_error.go p2p: fix some golint warnings (#16577) 2018-05-08 13:08:43 +02:00
peer_test.go p2p: fix bug in TestPeerDisconnect (#20277) 2019-11-13 12:01:52 +01:00
protocol.go cmd/devp2p, p2p: dial using node iterator, discovery crawler (#20132) 2019-10-29 17:08:57 +02:00
rlpx.go p2p: measure subprotocol bandwidth usage 2019-09-27 18:00:25 +03:00
rlpx_test.go p2p: remove useless parameter (#19433) 2019-04-10 11:49:02 +03:00
server.go dashboard: send current block to the dashboard client (#19762) 2019-11-13 12:13:13 +01:00
server_test.go cmd/devp2p, p2p: dial using node iterator, discovery crawler (#20132) 2019-10-29 17:08:57 +02:00
util.go p2p: enforce connection retry limit on server side (#19684) 2019-06-11 12:45:33 +02:00
util_test.go p2p: enforce connection retry limit on server side (#19684) 2019-06-11 12:45:33 +02:00