Skip to content

Commit

Permalink
ipns: suggest _ prefix for user-defined fields
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Sep 12, 2022
1 parent cc5941b commit e6c9544
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion IPNS.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,11 @@ A logical IPNS record is a data structure containing the following fields:
- Implementations MUST include this value in `IpnsEntry.signatureV2` and follow signature creation and verification as described in [Record Creation](#record-creation) and [Record Verification](#record-verification).
- **Extensible Data** (DAG-CBOR)
- Extensible record data in [DAG-CBOR](https://ipld.io/specs/codecs/dag-cbor/spec/) format.
- The default set of fields can be augmented with additional information. Implementations are free to leverage this, or simply ignore unexpected fields.
- The default set of fields can be augmented with additional information.
- Implementations are free to leverage this, or simply ignore unexpected fields.
- A good practice is to prefix custom field names with `_` to avoid
collisions with any new mandatory fields that may be added in a future
version of this specification.

IPNS records are stored locally, as well as spread across the network, in order to be accessible to everyone.

Expand Down

0 comments on commit e6c9544

Please sign in to comment.