Check a server-supplied batch expiry against policy and return the timelock
to commit to.
The sweep leaf of the shared batch output is derived from this value, so it
is never reconstructible from anything else the server sends: validating the
tree only proves it is consistent with whatever value was chosen. Callers
must encode the returned timelock rather than re-deriving their own.
Check a server-supplied batch expiry against
policyand return the timelock to commit to.The sweep leaf of the shared batch output is derived from this value, so it is never reconstructible from anything else the server sends: validating the tree only proves it is consistent with whatever value was chosen. Callers must encode the returned timelock rather than re-deriving their own.