Function chain_impl_mockchain::multisig::witness::verify_identifier_threshold
source · pub fn verify_identifier_threshold(
declaration: &Declaration,
witnesses: &[(Index, PublicKey<Ed25519>)]
) -> Result<(), LedgerError>
Expand description
Verify that the declaration and the witnesses in parameters fulfill the requirements:
- The threshold is met: there’s at least T or more witnesses available
- the witnesses and declaration together can re-create