Class

fr.acinq.eclair.router.Graph

RichWeight

Related Doc: package Graph

Permalink

case class RichWeight(cost: MilliSatoshi, length: Int, cltv: CltvExpiryDelta, weight: Double) extends Ordered[RichWeight] with Product with Serializable

The cumulative weight of a set of edges (path in the graph).

cost

amount to send to the recipient + each edge's fees

length

number of edges in the path

cltv

sum of each edge's cltv

weight

cost multiplied by a factor based on heuristics (see WeightRatios).

Linear Supertypes
Serializable, Serializable, Product, Equals, Ordered[RichWeight], Comparable[RichWeight], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichWeight
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Ordered
  7. Comparable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichWeight(cost: MilliSatoshi, length: Int, cltv: CltvExpiryDelta, weight: Double)

    Permalink

    cost

    amount to send to the recipient + each edge's fees

    length

    number of edges in the path

    cltv

    sum of each edge's cltv

    weight

    cost multiplied by a factor based on heuristics (see WeightRatios).

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def <(that: RichWeight): Boolean

    Permalink
    Definition Classes
    Ordered
  4. def <=(that: RichWeight): Boolean

    Permalink
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def >(that: RichWeight): Boolean

    Permalink
    Definition Classes
    Ordered
  7. def >=(that: RichWeight): Boolean

    Permalink
    Definition Classes
    Ordered
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  10. val cltv: CltvExpiryDelta

    Permalink

    sum of each edge's cltv

  11. def compare(that: RichWeight): Int

    Permalink
    Definition Classes
    RichWeight → Ordered
  12. def compareTo(that: RichWeight): Int

    Permalink
    Definition Classes
    Ordered → Comparable
  13. val cost: MilliSatoshi

    Permalink

    amount to send to the recipient + each edge's fees

  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. val length: Int

    Permalink

    number of edges in the path

  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. val weight: Double

    Permalink

    cost multiplied by a factor based on heuristics (see WeightRatios).

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Ordered[RichWeight]

Inherited from Comparable[RichWeight]

Inherited from AnyRef

Inherited from Any

Ungrouped