Package org.ldk.structs
Class ReadOnlyNetworkGraph
- java.lang.Object
-
- org.ldk.structs.ReadOnlyNetworkGraph
-
public class ReadOnlyNetworkGraph extends Object
A read-only view of [`NetworkGraph`].
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinalize()Option_CVec_NetAddressZZget_addresses(byte[] pubkey)Get network addresses by node id.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
get_addresses
public Option_CVec_NetAddressZZ get_addresses(byte[] pubkey)
Get network addresses by node id. Returns None if the requested node is completely unknown, or if node announcement for the node was never received.
-
-