fedimint_mint_client

Function select_notes_from_stream

Source
pub(crate) async fn select_notes_from_stream<Note>(
    stream: impl Stream<Item = (Amount, Note)>,
    requested_amount: Amount,
    fee_consensus: FeeConsensus,
) -> Result<TieredMulti<Note>, InsufficientBalanceError>