libp2p / specs

Technical specifications for the libp2p networking stack
https://libp2p.io
1.56k stars 273 forks source link

identify: multiple Push messages are racy #501

Open marten-seemann opened 1 year ago

marten-seemann commented 1 year ago

When a peer send multiple Identify push messages in succession, the outcome of this will be racy, since there's no ordering guarantee between the two Identify Push streams.

This can easily be solved by adding a sequence number to the Identify message.