Closed thomaseizinger closed 2 years ago
Hm. This is unfortunate. Sending signed peer records has already been implemented in go-libp2p's identify but this was never added to the specs.
The implementation is that we simply added a new field to the identify protobuf that includes the signed peer record. In terms of efficiency, this is less than optimal. But it lets us avoid an extra round-trip for version negotiation.
Ah, I see the discussion. I'll continue there.
Best reviewed patch-by-patch.
I plan to amend https://github.com/libp2p/specs/commit/1d715ffcb542a5eab9efdff12fbe89bd93a08715 as I work through feedback. Currently a draft PR because of discussion ongoing here.