go-ethereum/les
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
..
flowcontrol all: update author list and licenses 2019-07-22 12:17:27 +03:00
api.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
api_backend.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
api_test.go all: make unit tests work with Go 1.13 (#20053) 2019-09-11 14:41:22 +02:00
balance.go les: implement new client pool (#19745) 2019-08-03 14:36:10 +02:00
benchmark.go les: wait for all task goroutines before dropping the peer (#20010) 2019-08-27 14:07:25 +03:00
bloombits.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
checkpointoracle.go all: on-chain oracle checkpoint syncing (#19543) 2019-06-28 10:34:02 +03:00
client.go acmd, core, eth, les: support --override.istanbul 2019-08-23 12:09:27 +03:00
client_handler.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
clientpool.go les: wait for all task goroutines before dropping the peer (#20010) 2019-08-27 14:07:25 +03:00
clientpool_test.go les: wait for all task goroutines before dropping the peer (#20010) 2019-08-27 14:07:25 +03:00
commons.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
costtracker.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
distributor.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
distributor_test.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
execqueue.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
execqueue_test.go les: fix goroutine leak in execQueue (#14480) 2017-05-16 20:56:02 +02:00
fetcher.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
handler_test.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
metrics.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
odr.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
odr_requests.go all: on-chain oracle checkpoint syncing (#19543) 2019-06-28 10:34:02 +03:00
odr_test.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
peer.go les: wait for all task goroutines before dropping the peer (#20010) 2019-08-27 14:07:25 +03:00
peer_test.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
protocol.go eth, les: add sanity checks for unbounded block fields (#19573) 2019-07-08 11:42:22 +02:00
randselect.go les, les/flowcontrol: improved request serving and flow control (#18230) 2019-02-26 12:32:48 +01:00
randselect_test.go all: gofmt -w -s 2017-01-06 15:52:03 +01:00
request_test.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
retrieve.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
server.go les: wait for all task goroutines before dropping the peer (#20010) 2019-08-27 14:07:25 +03:00
server_handler.go les: fix panic (#20013) 2019-08-27 15:29:00 +02:00
serverpool.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
servingqueue.go all: update author list and licenses 2019-07-22 12:17:27 +03:00
sync.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
sync_test.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
test_helper.go les: wait for all task goroutines before dropping the peer (#20010) 2019-08-27 14:07:25 +03:00
txrelay.go cmd, eth, les: fix up ultra light config integration 2019-07-09 20:34:42 +03:00
ulc.go cmd, eth, les: fix up ultra light config integration 2019-07-09 20:34:42 +03:00
ulc_test.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00