Package org.ldk.structs
Class Hints
- java.lang.Object
-
- org.ldk.structs.Hints
-
- Direct Known Subclasses:
Hints.Blinded,Hints.Clear
public class Hints extends Object
Routing hints for the tail of the route.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHints.BlindedThe recipient provided blinded paths and payinfo to reach them.static classHints.ClearThe recipient included these route hints in their BOLT11 invoice.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Hintsblinded(TwoTuple_BlindedPayInfoBlindedPathZ[] a)Utility method to constructs a new Blinded-variant Hintsstatic Hintsclear(RouteHint[] a)Utility method to constructs a new Clear-variant HintsHintsclone()Creates a copy of the Hintsbooleaneq(Hints b)Checks if two Hintss contain equal inner contents.booleanequals(Object o)protected voidfinalize()longhash()Generates a non-cryptographic 64-bit hash of the Hints.inthashCode()
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
blinded
public static Hints blinded(TwoTuple_BlindedPayInfoBlindedPathZ[] a)
Utility method to constructs a new Blinded-variant Hints
-
clear
public static Hints clear(RouteHint[] a)
Utility method to constructs a new Clear-variant Hints
-
hash
public long hash()
Generates a non-cryptographic 64-bit hash of the Hints.
-
eq
public boolean eq(Hints b)
Checks if two Hintss contain equal inner contents. This ignores pointers and is_owned flags and looks at the values in fields.
-
-