Interface ScoreUpdate.ScoreUpdateInterface

  • Enclosing class:
    ScoreUpdate

    public static interface ScoreUpdate.ScoreUpdateInterface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void payment_path_failed​(Path path, long short_channel_id)
      Handles updating channel penalties after failing to route through a channel.
      void payment_path_successful​(Path path)
      Handles updating channel penalties after successfully routing along a path.
      void probe_failed​(Path path, long short_channel_id)
      Handles updating channel penalties after a probe over the given path failed.
      void probe_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.