ethereum / devp2p

Ethereum peer-to-peer networking specifications
984 stars 275 forks source link

discv5: add wire protocol test vectors #123

Closed AgeManning closed 4 years ago

AgeManning commented 4 years ago

Overview

This adds a collection of test vectors to the discv5 wire protocol. Although not entirely comprehensive, it should help new implementations conform to the specification and current implementations by passing these tests.

AgeManning commented 4 years ago

Thanks for the feedback! I've corrected some of the easier ones, and hopefully when I get some more time, I may able to add to these.

I'll let you know when I get the chance to compare the nested ENR encodings with geth and can hopefully resolve our mismatch.

fjl commented 4 years ago

Thank you!