Skip to main content

persistentHash

For the complete documentation index, see llms.txt

@midnight-ntwrk/ledger v3.0.2 • Readme | API


@midnight-ntwrk/ledger v3.0.2 / persistentHash

Function: persistentHash()

Internal

persistentHash(align, val): Value

Internal implementation of the persistent hash primitive

Parameters​

• align: Alignment

• val: Value

Returns​

Value

Throws​

If val does not have alignment align, or any component has a compress alignment