loadResponseManifestHash
loadResponseManifestHash<
ChangesType>(input):Promise<Uint8Array<ArrayBufferLike>>
Defined in: packages/core/src/load-response-manifest.ts:297
Hash the state a V4 load response would apply, independent of how the holder happens to represent it.
The canonical manifest binds root identity, every named node’s CID and classification, directed child edges and deferred-children markers, the snapshot’s boundary CID and state bytes, and keychain changes. A change CID addresses its encrypted block, so it binds the change content; inline payloads are not hashed because a quorum-bound load discards them and fetches every CID from the blockstore. Sparse cross-link aliases are reconciled with the full representation of their CID. The snapshot’s signature, timestamp and compacted count are excluded so writers that signed their own snapshot of one state agree; loaders verify that signature against the document’s writers before applying the snapshot. The response bytes are never trusted as a precomputed manifest: advertisers and loaders must independently derive this digest from the actual plan they would serve or apply.
Type Parameters
Section titled “Type Parameters”ChangesType
Section titled “ChangesType”ChangesType
Parameters
Section titled “Parameters”LoadResponseManifestInput<ChangesType>
Returns
Section titled “Returns”Promise<Uint8Array<ArrayBufferLike>>