LibertyDSNP / spec

The DSNP Spec and Website
https://spec.dsnp.org
Other
31 stars 3 forks source link

DIP-158 Make `published` required in Activity Content Type Note #158

Closed wilwade closed 2 years ago

wilwade commented 2 years ago

Abstract

While updating #145 and then #148 we realized that content hashes should be "required" to be unique, achievable via making the published field required.

Motivation

Specification Pull Request

Current change pull request: TODO

Additional Actions

Rationale

The other alternatives required more on chain data. This reduces the on chain data while still maintaining the same level of trust.

Requiring published on the Profile type does not appear to be necessary as it already uses a last profile wins resolution algorithm.

Backwards Compatibility

Security Considerations

While users could lie about the date, as duplicate Announcements are ignored, the purpose of generating unique hashes is as secure as it was before.

Dependencies

None

References

Copyright

Copyright and related rights waived via CC0.