Function nonce_distributor

Source
async fn nonce_distributor(
    agg_nonce_receiver: Receiver<(AggNonceQueueItem, Vec<PublicNonce>)>,
    partial_sig_streams: Vec<(Streaming<PartialSig>, Sender<VerifierDepositSignParams>)>,
    partial_sig_sender: Sender<(Vec<(PartialSignature, PublicNonce)>, AggNonceQueueItem)>,
    needed_nofn_sigs: usize,
    verifiers_ids: Vec<VerifierId>,
) -> Result<(), BridgeError>
Expand description

Reroutes aggregated nonces and public nonces for each aggregated nonce to the signature aggregator.