cmd/devp2p: add discv4 test suite (#21163)
This adds a test suite for discovery v4. The test suite is a port of the Hive suite for
discovery, and will replace the current suite on Hive soon-ish. The tests can be
run locally with this command:
devp2p discv4 test -remote enode//...
Co-authored-by:
Felix Lange <fjl@twurst.com>
Showing
- cmd/devp2p/discv4cmd.go 51 additions, 0 deletionscmd/devp2p/discv4cmd.go
- cmd/devp2p/internal/v4test/discv4tests.go 467 additions, 0 deletionscmd/devp2p/internal/v4test/discv4tests.go
- cmd/devp2p/internal/v4test/framework.go 123 additions, 0 deletionscmd/devp2p/internal/v4test/framework.go
- go.sum 1 addition, 0 deletionsgo.sum
- internal/utesting/utesting.go 190 additions, 0 deletionsinternal/utesting/utesting.go
- internal/utesting/utesting_test.go 55 additions, 0 deletionsinternal/utesting/utesting_test.go
Loading
Please register or sign in to comment