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_per_note_input: Amount,
) -> Result<TieredMulti<Note>, InsufficientBalanceError>