Skip to content

feat: add retrieval protocol code parsing #418

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vasco-santos
Copy link
Member

@vasco-santos vasco-santos commented May 21, 2025

This PR adds a retrieval code as draft to hint what kind of retrieval protocols one host may run. e.g. /ip4/.../p2p/qmfoo/retrieval/bitswap/retrieval/http as discussed

This enables us to be able to prioritize dialling to hosts that we know how to communicate with and avoid unnecessary dials. This is an optional Hint.

More context: https://github.com/vasco-santos/provider-hinted-uri/pull/1/files

Multicodec PR ready multiformats/multicodec#380

@vasco-santos vasco-santos force-pushed the feat/add-retrieval-protocol-code-parsing branch from d75827f to 9a16acf Compare May 21, 2025 18:28
@vasco-santos vasco-santos force-pushed the feat/add-retrieval-protocol-code-parsing branch from 9a16acf to e4aa322 Compare May 21, 2025 18:48
@vasco-santos vasco-santos requested a review from achingbrain May 21, 2025 18:53
@vasco-santos vasco-santos marked this pull request as ready for review May 21, 2025 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant