@midnight/ledger v3.0.2 • Readme | API
@midnight/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
Throws
If val does not have alignment align, or any component has a compress alignment