orchard/book/macros.txt

29 lines
613 B
Plaintext
Raw Normal View History

# Conventions
\bconcat:{\mathop{\kern 0.1em||\kern 0.1em}}
# Conversions
\ItoLEBSP:{\mathsf{I2LEBSP}_{#1}}
# Fields and curves
\BaseLength:{\ell^\mathsf{#1\vphantom{p}}_{\mathsf{base}}}
# Key components
\AuthSignPublic:{\mathsf{ak}}
\NullifierKey:{\mathsf{nk}}
\InViewingKey:{\mathsf{ivk}}
# Commitments and hashes
\SinsemillaHash:{\mathsf{SinsemillaHash}}
\SinsemillaShortCommit:{\mathsf{SinsemillaShortCommit}}
\CommitIvk:{\mathsf{Commit}^{\InViewingKey}}
# Circuit constraint helper methods
\BoolCheck:{\texttt{bool\_check}({#1})}
\ShortLookupRangeCheck:{\texttt{short\_lookup\_range\_check}({#1})}