Function signature_distributor

Source
async fn signature_distributor(
    final_sig_receiver: Receiver<FinalSigQueueItem>,
    deposit_finalize_sender: Vec<Sender<VerifierDepositFinalizeParams>>,
    agg_nonce: impl Future<Output = Result<((AggregatedNonce, Vec<PublicNonce>), (AggregatedNonce, Vec<PublicNonce>)), Status>>,
    needed_nofn_sigs: usize,
    verifiers_ids: Vec<VerifierId>,
) -> Result<(), BridgeError>
Expand description

Reroutes aggregated signatures to the caller. Also sends 2 aggregated nonces to the verifiers.