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 class
Hints.Blinded
The recipient provided blinded paths and payinfo to reach them.static class
Hints.Clear
The 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 Hints
blinded(TwoTuple_BlindedPayInfoBlindedPathZ[] a)
Utility method to constructs a new Blinded-variant Hintsstatic Hints
clear(RouteHint[] a)
Utility method to constructs a new Clear-variant HintsHints
clone()
Creates a copy of the Hintsboolean
eq(Hints b)
Checks if two Hintss contain equal inner contents.boolean
equals(Object o)
protected void
finalize()
long
hash()
Generates a non-cryptographic 64-bit hash of the Hints.int
hashCode()
-
-
-
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.
-
-