Skip to content

Signed peer records update #1799

@AgeManning

Description

@AgeManning

Signed peer records (https://github.com/libp2p/specs/blob/rfc/address-records/RFC/0003-routing-records.md#exchanging-records) (libp2p/specs#217) are being introduced into the libp2p specs.

They are an optional feature in gossipsub 1.1 also (as there are bootstrap nodes which can communicate peer records). I imagine signed records will be primarily suited to discovery-like protocols (kad, mdns, identify).

As I understand, in go there is a global peer store which these discovery mechanisms can update to include signed peer records. Gossipsub (which I'm most familiar with) can then access these signed records obtained from discovery mechanisms and can send them to peers on request.

Firstly, I'm curious if Signed Peer Records are on the radar for implementation? If so, I imagine some core changes to the API for NetworkBehaviour such that protocols can have access to a somewhat global peer store that can be updated by other protocols. Perhaps there's better ways of handling this. I'm curious about everyone's thoughts on how this would be implemented in the rust-libp2p context or if there is interest in having it implemented at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions