go-ethereum/p2p
Felix Lange 39b0b1a1a6
all: make unit tests work with Go 1.13 (#20053)
Most of these changes are related to the Go 1.13 changes to test binary
flag handling. 

* cmd/geth: make attach tests more reliable

This makes the test wait for the endpoint to come up by polling
it instead of waiting for two seconds.

* tests: fix test binary flags for Go 1.13

Calling flag.Parse during package initialization is prohibited
as of Go 1.13 and causes test failures. Call it in TestMain instead.

* crypto/ecies: remove useless -dump flag in tests

* p2p/simulations: fix test binary flags for Go 1.13

Calling flag.Parse during package initialization is prohibited
as of Go 1.13 and causes test failures. Call it in TestMain instead.

* build: remove workaround for ./... vendor matching

This workaround was necessary for Go 1.8. The Go 1.9 release changed
the expansion rules to exclude vendored packages.

* Makefile: use relative path for GOBIN

This makes the "Run ./build/bin/..." line look nicer.

* les: fix test binary flags for Go 1.13

Calling flag.Parse during package initialization is prohibited
as of Go 1.13 and causes test failures. Call it in TestMain instead.
2019-09-11 14:41:22 +02:00
..
discover all: update author list and licenses 2019-07-22 12:17:27 +03:00
discv5 p2p/enode, p2p/discv5: fix URL parsing test for go 1.12.8 (#19963) 2019-08-15 10:36:36 +02:00
enode p2p/enode: allow DNS names in enode URLs (#18524) 2019-08-22 14:23:40 +02:00
enr core/forkid: implement the forkid EIP, announce via ENR (#19738) 2019-07-08 18:53:47 +03:00
nat p2p, p2p/discover: add signed ENR generation (#17753) 2018-10-12 11:47:24 +02:00
netutil all: update author list and licenses 2019-07-22 12:17:27 +03:00
simulations all: make unit tests work with Go 1.13 (#20053) 2019-09-11 14:41:22 +02:00
testing all: update author list and licenses 2019-07-22 12:17:27 +03:00
dial_test.go p2p: enforce connection retry limit on server side (#19684) 2019-06-11 12:45:33 +02:00
dial.go p2p: enforce connection retry limit on server side (#19684) 2019-06-11 12:45:33 +02:00
message_test.go all: fix go vet warnings 2016-04-15 11:17:27 +02:00
message.go p2p: add address info to peer event reporting (#19716) 2019-07-05 20:27:13 +02:00
metrics.go core, metrics, p2p: switch some invalid counters to gauges 2019-09-10 14:39:07 +03:00
peer_error.go p2p: fix some golint warnings (#16577) 2018-05-08 13:08:43 +02:00
peer_test.go p2p: enforce connection retry limit on server side (#19684) 2019-06-11 12:45:33 +02:00
peer.go p2p: add ENR to PeerInfo (#19816) 2019-07-19 11:25:43 +02:00
protocol.go p2p: remove "cap" enr entry (#19800) 2019-07-08 18:41:41 +03:00
rlpx_test.go p2p: remove useless parameter (#19433) 2019-04-10 11:49:02 +03:00
rlpx.go crypto: add SignatureLength constant and use it everywhere (#19996) 2019-08-22 15:14:06 +02:00
server_test.go p2p: enforce connection retry limit on server side (#19684) 2019-06-11 12:45:33 +02:00
server.go core/forkid: implement the forkid EIP, announce via ENR (#19738) 2019-07-08 18:53:47 +03:00
util_test.go p2p: enforce connection retry limit on server side (#19684) 2019-06-11 12:45:33 +02:00
util.go p2p: enforce connection retry limit on server side (#19684) 2019-06-11 12:45:33 +02:00