fedimint_load_test_tool

Function run_ln_circular_load_test

Source
pub(crate) async fn run_ln_circular_load_test(
    archive_dir: Option<PathBuf>,
    users: u16,
    invite_code: Option<InviteCode>,
    initial_notes: Option<OOBNotes>,
    test_duration: Duration,
    ln_payment_sleep: Duration,
    notes_per_user: u16,
    note_denomination: Amount,
    invoice_amount: Amount,
    strategy: LnCircularStrategy,
    event_sender: UnboundedSender<MetricEvent>,
) -> Result<Vec<BoxFuture<'static, Result<()>>>>