clementine_core::rpc::aggregator

Function create_nonce_streams

Source
async fn create_nonce_streams(
    verifiers: ParticipatingVerifiers,
    num_nonces: u32,
) -> Result<(Vec<NonceGenFirstResponse>, Vec<BoxStream<'static, Result<PublicNonce, BridgeError>>>), BridgeError>
Expand description

Creates a stream of nonces from verifiers. This will automatically get the first response from the verifiers.

ยงReturns