ethereum / devp2p

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

discv5: REGTOPIC Request. How to pass topic value? #124

Closed annapodobed closed 4 years ago

annapodobed commented 4 years ago

According to the REGTOPIC Request description, regtopic message data are a node record and a ticket. If it is the first attempt the ticket is empty (0x80). Shouldn't we pass the topic value as well is this message? How does the recipient understand for which topic to create a ticket?

fjl commented 4 years ago

Yes! the topic should be there. Will add.