logo
pub trait SigType: Sealed { }
Expand description

Abstracts over different RedPallas parameter choices, Binding and SpendAuth.

As described at the end of §5.4.6 of the Zcash protocol specification, the generator used in RedPallas is left as an unspecified parameter, chosen differently for each of BindingSig and SpendAuthSig.

To handle this, we encode the parameter choice as a genuine type parameter.

Implementors