persistentCommit
@midnight/ledger / persistentCommit
Function: persistentCommit()
function persistentCommit(
align,
val,
opening): Value;
Internal
Internal implementation of the persistent commitment primitive
Parameters
align
val
opening
Returns
Throws
If val does not have alignment align, opening does not encode a 32-byte bytestring, or any component has a compress alignment