Uses of Class
org.ldk.structs.ChannelUsage
-
Packages that use ChannelUsage Package Description org.ldk.structs -
-
Uses of ChannelUsage in org.ldk.structs
Methods in org.ldk.structs that return ChannelUsage Modifier and Type Method Description ChannelUsage
ChannelUsage. clone()
Creates a copy of the ChannelUsagestatic ChannelUsage
ChannelUsage. of(long amount_msat_arg, long inflight_htlc_msat_arg, EffectiveCapacity effective_capacity_arg)
Constructs a new ChannelUsage given each fieldMethods in org.ldk.structs with parameters of type ChannelUsage Modifier and Type Method Description long
Score. channel_penalty_msat(long short_channel_id, NodeId source, NodeId target, ChannelUsage usage)
Returns the fee in msats willing to be paid to avoid routing `send_amt_msat` through the given channel in the direction from `source` to `target`.long
Score.ScoreInterface. channel_penalty_msat(long short_channel_id, NodeId source, NodeId target, ChannelUsage usage)
Returns the fee in msats willing to be paid to avoid routing `send_amt_msat` through the given channel in the direction from `source` to `target`.
-