trait Router extends AnyRef

Router is a service that offers advanced interaction with the router subsystem of the daemon.

Annotations
@PekkoGrpcGenerated()
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Router
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def buildRoute(in: BuildRouteRequest): Future[BuildRouteResponse]

    BuildRoute builds a fully specified route based on a list of hop public keys.

    BuildRoute builds a fully specified route based on a list of hop public keys. It retrieves the relevant channel policies from the graph in order to calculate the correct fees and time locks.

  2. abstract def estimateRouteFee(in: RouteFeeRequest): Future[RouteFeeResponse]

    EstimateRouteFee allows callers to obtain a lower bound w.r.t how much it may cost to send an HTLC to the target end destination.

  3. abstract def getMissionControlConfig(in: GetMissionControlConfigRequest): Future[GetMissionControlConfigResponse]

    GetMissionControlConfig returns mission control's current config.

  4. abstract def htlcInterceptor(in: Source[ForwardHtlcInterceptResponse, NotUsed]): Source[ForwardHtlcInterceptRequest, NotUsed]

    * HtlcInterceptor dispatches a bi-directional streaming RPC in which Forwarded HTLC requests are sent to the client and the client responds with a boolean that tells LND if this htlc should be intercepted.

    * HtlcInterceptor dispatches a bi-directional streaming RPC in which Forwarded HTLC requests are sent to the client and the client responds with a boolean that tells LND if this htlc should be intercepted. In case of interception, the htlc can be either settled, cancelled or resumed later by using the ResolveHoldForward endpoint.

  5. abstract def queryMissionControl(in: QueryMissionControlRequest): Future[QueryMissionControlResponse]

    QueryMissionControl exposes the internal mission control state to callers.

    QueryMissionControl exposes the internal mission control state to callers. It is a development feature.

  6. abstract def queryProbability(in: QueryProbabilityRequest): Future[QueryProbabilityResponse]

    Deprecated.

    Deprecated. QueryProbability returns the current success probability estimate for a given node pair and amount. The call returns a zero success probability if no channel is available or if the amount violates min/max HTLC constraints.

  7. abstract def resetMissionControl(in: ResetMissionControlRequest): Future[ResetMissionControlResponse]

    ResetMissionControl clears all mission control state and starts with a clean slate.

  8. abstract def sendPayment(in: SendPaymentRequest): Source[PaymentStatus, NotUsed]

    Deprecated, use SendPaymentV2.

    Deprecated, use SendPaymentV2. SendPayment attempts to route a payment described by the passed PaymentRequest to the final destination. The call returns a stream of payment status updates.

  9. abstract def sendPaymentV2(in: SendPaymentRequest): Source[Payment, NotUsed]

    SendPaymentV2 attempts to route a payment described by the passed PaymentRequest to the final destination.

    SendPaymentV2 attempts to route a payment described by the passed PaymentRequest to the final destination. The call returns a stream of payment updates.

  10. abstract def sendToRoute(in: SendToRouteRequest): Future[SendToRouteResponse]

    Deprecated, use SendToRouteV2.

    Deprecated, use SendToRouteV2. SendToRoute attempts to make a payment via the specified route. This method differs from SendPayment in that it allows users to specify a full route manually. This can be used for things like rebalancing, and atomic swaps. It differs from the newer SendToRouteV2 in that it doesn't return the full HTLC information.

  11. abstract def sendToRouteV2(in: SendToRouteRequest): Future[HTLCAttempt]

    SendToRouteV2 attempts to make a payment via the specified route.

    SendToRouteV2 attempts to make a payment via the specified route. This method differs from SendPayment in that it allows users to specify a full route manually. This can be used for things like rebalancing, and atomic swaps.

  12. abstract def setMissionControlConfig(in: SetMissionControlConfigRequest): Future[SetMissionControlConfigResponse]

    SetMissionControlConfig will set mission control's config, if the config provided is valid.

  13. abstract def subscribeHtlcEvents(in: SubscribeHtlcEventsRequest): Source[HtlcEvent, NotUsed]

    SubscribeHtlcEvents creates a uni-directional stream from the server to the client which delivers a stream of htlc events.

  14. abstract def trackPayment(in: TrackPaymentRequest): Source[PaymentStatus, NotUsed]

    Deprecated, use TrackPaymentV2.

    Deprecated, use TrackPaymentV2. TrackPayment returns an update stream for the payment identified by the payment hash.

  15. abstract def trackPaymentV2(in: TrackPaymentRequest): Source[Payment, NotUsed]

    TrackPaymentV2 returns an update stream for the payment identified by the payment hash.

  16. abstract def trackPayments(in: TrackPaymentsRequest): Source[Payment, NotUsed]

    TrackPayments returns an update stream for every payment that is not in a terminal state.

    TrackPayments returns an update stream for every payment that is not in a terminal state. Note that if payments are in-flight while starting a new subscription, the start of the payment stream could produce out-of-order and/or duplicate events. In order to get updates for every in-flight payment attempt make sure to subscribe to this method before initiating any payments.

  17. abstract def updateChanStatus(in: UpdateChanStatusRequest): Future[UpdateChanStatusResponse]

    UpdateChanStatus attempts to manually set the state of a channel (enabled, disabled, or auto).

    UpdateChanStatus attempts to manually set the state of a channel (enabled, disabled, or auto). A manual "disable" request will cause the channel to stay disabled until a subsequent manual request of either "enable" or "auto".

  18. abstract def xImportMissionControl(in: XImportMissionControlRequest): Future[XImportMissionControlResponse]

    XImportMissionControl is an experimental API that imports the state provided to the internal mission control's state, using all results which are more recent than our existing values.

    XImportMissionControl is an experimental API that imports the state provided to the internal mission control's state, using all results which are more recent than our existing values. These values will only be imported in-memory, and will not be persisted across restarts.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped