Function tbs::aggregate_signature_shares

source ·
pub fn aggregate_signature_shares(
    shares: &BTreeMap<u64, BlindedSignatureShare>,
) -> BlindedSignature
Expand description

Combines the exact threshold of valid blinded signature shares to a blinded signature. The responsibility of verifying the shares and supplying exactly the necessary threshold of shares lies with the caller.

§Panics

If shares is empty