Interface Router.RouterInterface

  • Enclosing class:
    Router

    public static interface Router.RouterInterface
    • Method Detail

      • find_route_with_id

        Result_RouteLightningErrorZ find_route_with_id​(byte[] payer,
                                                       RouteParameters route_params,
                                                       ChannelDetails[] first_hops,
                                                       InFlightHtlcs inflight_htlcs,
                                                       byte[] _payment_hash,
                                                       byte[] _payment_id)
        Finds a [`Route`] between `payer` and `payee` for a payment with the given values. Includes `PaymentHash` and `PaymentId` to be able to correlate the request with a specific payment. Note that first_hops (or a relevant inner pointer) may be NULL or all-0s to represent None