X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=lightning%2Fsrc%2Frouting%2Frouter.rs;h=104f4c93c3871aca1f0e6f3af73a959e9c13001f;hb=d7a6d0d10db17f8c737bf3ad40e7b9f4343e60d8;hp=4c8a31bd73533fdf3ca4d19b869c8339edcc2167;hpb=34f8dd9a49060676da0cf4157613cfb5fd58cf1e;p=rust-lightning diff --git a/lightning/src/routing/router.rs b/lightning/src/routing/router.rs index 4c8a31bd..104f4c93 100644 --- a/lightning/src/routing/router.rs +++ b/lightning/src/routing/router.rs @@ -90,6 +90,7 @@ pub trait Router { &self, payer: &PublicKey, route_params: &RouteParameters, first_hops: Option<&[&ChannelDetails]>, inflight_htlcs: InFlightHtlcs ) -> Result; + /// Finds a [`Route`] for a payment between the given `payer` and a payee. /// /// The `payee` and the payment's value are given in [`RouteParameters::payment_params`]