ipfs/kubo

ipfs name resolve '-k' option unecessary

Open

#3.900 aberto em 5 de mai. de 2017

Ver no GitHub
 (7 comments) (0 reactions) (0 assignees)Go (2.725 forks)batch import
help wanted

Métricas do repositório

Stars
 (13.906 stars)
Métricas de merge de PR
 (Mesclagem média 4d 2h) (28 fundiu PRs em 30d)

Description

We should just be able to resolve named keys by doing ipfs name resolve keyname. Since named keys cannot contain slashes, we can disambiguate them from hashes by an optional /ipns/ prefix on hash keys.

ipfs key gen foobar
ipfs name resolve foobar # should work
ipfs name resolve QmBeepBoop # should check if we have a key named QmBeepBoop, then try to resolve a hash key
ipfs name resolve /ipns/QmBeepBoop # definitely a hash key, don't check for named keys

Guia do colaborador