Uses of Class
org.ldk.structs.HTLCDestination
-
Packages that use HTLCDestination Package Description org.ldk.structs -
-
Uses of HTLCDestination in org.ldk.structs
Subclasses of HTLCDestination in org.ldk.structs Modifier and Type Class Description static class
HTLCDestination.FailedPayment
Failure scenario where an HTLC may have been forwarded to be intended for us, but is invalid for some reason, so we reject it.static class
HTLCDestination.InvalidForward
We couldn't forward to the outgoing scid.static class
HTLCDestination.NextHopChannel
We tried forwarding to a channel but failed to do so.static class
HTLCDestination.UnknownNextHop
Scenario where we are unsure of the next node to forward the HTLC to.Fields in org.ldk.structs declared as HTLCDestination Modifier and Type Field Description HTLCDestination
Event.HTLCHandlingFailed. failed_next_destination
Destination of the HTLC that failed to be processed.HTLCDestination
Option_HTLCDestinationZ.Some. some
Methods in org.ldk.structs that return HTLCDestination Modifier and Type Method Description HTLCDestination
HTLCDestination. clone()
Creates a copy of the HTLCDestinationstatic HTLCDestination
HTLCDestination. failed_payment(byte[] payment_hash)
Utility method to constructs a new FailedPayment-variant HTLCDestinationstatic HTLCDestination
HTLCDestination. invalid_forward(long requested_forward_scid)
Utility method to constructs a new InvalidForward-variant HTLCDestinationstatic HTLCDestination
HTLCDestination. next_hop_channel(byte[] node_id, byte[] channel_id)
Utility method to constructs a new NextHopChannel-variant HTLCDestinationstatic HTLCDestination
HTLCDestination. unknown_next_hop(long requested_forward_scid)
Utility method to constructs a new UnknownNextHop-variant HTLCDestinationMethods in org.ldk.structs with parameters of type HTLCDestination Modifier and Type Method Description boolean
HTLCDestination. eq(HTLCDestination b)
Checks if two HTLCDestinations contain equal inner contents.static Event
Event. htlchandling_failed(byte[] prev_channel_id, HTLCDestination failed_next_destination)
Utility method to constructs a new HTLCHandlingFailed-variant Eventstatic Option_HTLCDestinationZ
Option_HTLCDestinationZ. some(HTLCDestination o)
Constructs a new COption_HTLCDestinationZ containing a crate::lightning::events::HTLCDestination
-