Skip to content
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

IPNS fast resolution for content publisher #6433

Open
aschmahmann opened this issue Jun 12, 2019 · 0 comments
Open

IPNS fast resolution for content publisher #6433

aschmahmann opened this issue Jun 12, 2019 · 0 comments

Comments

@aschmahmann
Copy link
Contributor

Given that IPNS is basically designed to fail with multiple writers I think it's reasonable to assume that if you have an IPNS private key stored locally and you do ipns name resolve myKey it should just immediately return the local data if you have it available (i.e. not even bother with a network request).

I think this is true even if you pass the --stream option, although I'm open to other opinions.

If for some reason you've decided that you're going to reuse an IPNS private key across multiple machines we can either use a new flag (or piggyback on the -n flag) to let force a network search.

Thanks @lidel, @Stebalien, @djdv for help fleshing this out.

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

No branches or pull requests

1 participant