Function signature_aggregator

Source
async fn signature_aggregator(
    partial_sig_receiver: Receiver<(Vec<(PartialSignature, PublicNonce)>, AggNonceQueueItem)>,
    verifiers_public_keys: Vec<PublicKey>,
    final_sig_sender: Sender<FinalSigQueueItem>,
    needed_nofn_sigs: usize,
) -> Result<(), BridgeError>
Expand description

Collects partial signatures and corresponding public nonces from given stream and aggregates them. Each partial signature will also be verified if PARTIAL_SIG_VERIFICATION is set to true.