Package org.ldk.structs
Class Score
- java.lang.Object
-
- org.ldk.structs.Score
-
public class Score extends Object
An interface used to score payment channels for path finding. \tScoring is in terms of fees willing to be paid in order to avoid routing through a channel.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceScore.ScoreInterface
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longchannel_penalty_msat(long short_channel_id)Returns the fee in msats willing to be paid to avoid routing through the given channel.protected voidfinalize()static Scorenew_impl(Score.ScoreInterface arg)
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
new_impl
public static Score new_impl(Score.ScoreInterface arg)
-
channel_penalty_msat
public long channel_penalty_msat(long short_channel_id)
Returns the fee in msats willing to be paid to avoid routing through the given channel.
-
-