Package org.ldk.structs
Interface ScoreUpdate.ScoreUpdateInterface
-
- Enclosing class:
- ScoreUpdate
public static interface ScoreUpdate.ScoreUpdateInterface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpayment_path_failed(Path path, long short_channel_id)Handles updating channel penalties after failing to route through a channel.voidpayment_path_successful(Path path)Handles updating channel penalties after successfully routing along a path.voidprobe_failed(Path path, long short_channel_id)Handles updating channel penalties after a probe over the given path failed.voidprobe_successful(Path path)Handles updating channel penalties after a probe over the given path succeeded.
-
-
-
Method Detail
-
payment_path_failed
void payment_path_failed(Path path, long short_channel_id)
Handles updating channel penalties after failing to route through a channel.
-
payment_path_successful
void payment_path_successful(Path path)
Handles updating channel penalties after successfully routing along a path.
-
probe_failed
void probe_failed(Path path, long short_channel_id)
Handles updating channel penalties after a probe over the given path failed.
-
probe_successful
void probe_successful(Path path)
Handles updating channel penalties after a probe over the given path succeeded.
-
-