From 4574a8f2c2e38bfd6f293887088909cc5c0fee66 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Tue, 5 Nov 2019 17:50:17 +0000 Subject: [PATCH] fix(commands/dht): document value limitations fixes #6749 --- core/commands/dht.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/commands/dht.go b/core/commands/dht.go index 8ee5d7d9d..c1e0ade1e 100644 --- a/core/commands/dht.go +++ b/core/commands/dht.go @@ -527,9 +527,9 @@ this is only /ipns. Unless you have a relatively deep understanding of the go-ipfs routing internals, you likely want to be using 'ipfs name publish' instead of this. -Value is arbitrary text. Standard input can be used to provide value. - -NOTE: A value may not exceed 2048 bytes. +The value must be a valid value for the given key type. For example, if the key +is /ipns/QmFoo, the value must be IPNS record (protobuf) signed with the key +identified by QmFoo. `, },