LibertyDSNP / spec

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

DIP-210 and DIP-212 multihash for Announcements and Activity Content #245

Closed wesbiggs closed 1 year ago

wesbiggs commented 1 year ago

Problem

DSNP Announcements and the "hash" addition to Activity Content should use the multihash format for content hashes to avoid algorithm lock-in.

Link to GitHub Issue(s): #210, #212

Solution

All Announcements that have a contentHash have been updated, and the section on validation of Announcements is extended to include a list of supported hashing algorithms.

The description and examples using the"hash" JSON property with Activity Content documents have been updated.

The supported hashing algorithms for this version are Blake2b and SHA-256.

Change summary:

Steps to Verify:

  1. Generate markdown and review
wesbiggs commented 1 year ago

I added the Activity Content changes to this same PR.