Skip to content

IPNS should use libp2p-fetch to retrieve IPNS records from peers #893

@achingbrain

Description

@achingbrain

The IPNS-over-pubsub implementation waits for peers to publish updated IPNS records in order to resolve them.

Instead it should query topic peers directly for the record over libp2p-fetch.

This needs to be implemented here.

Keys should be sent as Uint8Arrays and not strings to avoid data corruption.

Spec: https://specs.ipfs.tech/ipns/ipns-pubsub-router/#layering-persistence-onto-libp2p-pubsub
Libp2p-fetch: https://libp2p.github.io/js-libp2p/interfaces/_libp2p_fetch.Fetch.html#fetch

Metadata

Metadata

Assignees

Labels

dif/mediumPrior experience is likely helpfulhelp wantedSeeking public contribution on this issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions