This means that using a BindingSig as a SpendAuthSig or vice versa becomes a compile error. Internally, we can share implementations, but having type parameters and specialized impls means that the correct parameters can be substituted in to whatever inner functions exist. |
||
---|---|---|
.. | ||
error.rs | ||
lib.rs | ||
public_key.rs | ||
secret_key.rs | ||
signature.rs |