Update Announcement
An Update Announcement is a way to note intent to update previously announced content. If the original Broadcast/Reply is Tombstoned, subsequent Updates should be ignored.
Fields
Field | Description | Data Type | Serialization | Parquet Type | Bloom Filter |
---|---|---|---|---|---|
announcementType | Announcement Type Enum (6 ) | enum | decimal | INT32 | no |
fromId | id of the user creating the announcement | 64 bit unsigned integer | decimal | UINT_64 | YES |
contentHash | multihash-encoded hash of content stored at URL | variable length byte array | hexadecimal | BYTE_ARRAY | YES |
url | updated content URL | UTF-8 | UTF-8 | UTF8 | no |
targetAnnouncementType | target updated Announcement type | enum | decimal | INT32 | no |
targetContentHash | multihash-encoded hash of target content | variable length byte array | hexadecimal | BYTE_ARRAY | YES |
Field Requirements
announcementType
- MUST be fixed to
6
fromId
- MUST be a DSNP User Id
contentHash
- MUST be a DSNP Content Hash
url
- MUST NOT refer to localhost or any reserved IP addresses as defined in RFC6890
- Resource MUST be one of the supported Activity Content Types
- MUST use one of the supported URL Schemes
targetAnnouncementType
- MUST be the Announcement Type of the target Announcement
- MUST ONLY be an Update allowed Announcement Type
Update Allowed Announcement Types
targetContentHash
- MUST be the
contentHash
of an allowed Announcement type with the samefromId
as the Update Announcement