Skip to content

Function: renderHash() ​

renderHash(sha256Hex, facts): string

Defined in: packages/core/src/manifest.ts:134

The id of a render: a sha256 over the facts the manifest states, in a fixed text form that every runtime builds with string operations alone, so no canonical-JSON rules are needed to agree on it. verify does not recompute it; it checks the facts.

text
sealpixel-render/1
<source hash>
<edit log hash, or the plan hash for a manifest without a log>
<plugins as id@version, sorted by id, joined by ','>
<renderer kind> <renderer version> <binary sha256 or '-'>
<pixel hash>
<byte hash>

Parameters ​

sha256Hex ​

(bytes) => string

facts ​

byteHash ​

string

editsHash ​

string

pixelHash ​

string

plugins ​

Record<string, number>

renderer ​

RendererIdentity

sourceHash ​

string

Returns ​

string