mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-11 11:19:05 +08:00
`name put` rejected republishing the exact same record because the
sequence check used `>=` which blocked the common use case of fetching
a third-party record and putting it back to refresh DHT availability.
allow putting identical records (same bytes) while still rejecting
different records with the same or lower sequence number. also add
a success message on put (suppressible with `--quiet`), and clarify
the error message to say "IPNS record" and reference `ipfs name put --force`.
Closes #11197
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| ipns.go | ||
| ipnsps.go | ||
| name.go | ||
| publish.go | ||