breez_sdk_liquid::lightning_invoice::payment

Function preflight_probe_zero_value_invoice

pub fn preflight_probe_zero_value_invoice<C>(
    invoice: &Bolt11Invoice,
    amount_msat: u64,
    channelmanager: C,
    liquidity_limit_multiplier: Option<u64>,
) -> Result<Vec<(PaymentHash, PaymentId)>, ProbingError>
where C: Deref, <C as Deref>::Target: AChannelManager,
Expand description

Sends payment probes over all paths of a route that would be used to pay the given zero-value invoice using the given amount.

See ChannelManager::send_preflight_probes for more information.