import "github.com/ethereum/go-ethereum/cmd/devp2p/internal/v5test"
Suite is the discv5 test suite.
In this test, multiple nodes ping the node under test. After waiting for them to be accepted into the remote table, the test checks that they are returned by FINDNODE.
This test checks that the remote node returns itself for FINDNODE with distance zero.
This test sends PING and expects a PONG response.
This test starts a handshake, but doesn't finish it and sends a second ordinary message packet instead of a handshake message packet. The remote node should respond with another WHOAREYOU challenge for the second packet.
This test sends PING with a 9-byte request ID, which isn't allowed by the spec. The remote node should not respond.
In this test, a session is established from one IP as usual. The session is then reused on another IP, which shouldn't work. The remote node should respond with WHOAREYOU for the attempt from a different IP.
This test sends TALKREQ and expects an empty TALKRESP response.
Package v5test imports 14 packages (graph) and is imported by 1 packages. Updated 2020-10-15. Refresh now. Tools for package owners.