ipfs/kubo

ipfs name resolve '-k' option unecessary

Open

#3,900 创建于 2017年5月5日

在 GitHub 查看
 (7 评论) (0 反应) (0 负责人)Go (2,725 fork)batch import
help wanted

仓库指标

Star
 (13,906 star)
PR 合并指标
 (平均合并 4天 2小时) (30 天内合并 28 个 PR)

描述

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

贡献者指南