Uses of Class
org.ldk.structs.NetworkGraph
-
Packages that use NetworkGraph Package Description org.ldk.batteries org.ldk.structs -
-
Uses of NetworkGraph in org.ldk.batteries
Constructors in org.ldk.batteries with parameters of type NetworkGraph Constructor Description ChannelManagerConstructor(byte[] channel_manager_serialized, byte[][] channel_monitors_serialized, KeysInterface keys_interface, FeeEstimator fee_estimator, ChainMonitor chain_monitor, Filter filter, NetworkGraph net_graph, BroadcasterInterface tx_broadcaster, Logger logger)Deserializes a channel manager and a set of channel monitors from the given serialized copies and interface implementationsChannelManagerConstructor(Network network, UserConfig config, byte[] current_blockchain_tip_hash, int current_blockchain_tip_height, KeysInterface keys_interface, FeeEstimator fee_estimator, ChainMonitor chain_monitor, NetworkGraph net_graph, BroadcasterInterface tx_broadcaster, Logger logger)Constructs a channel manager from the given interface implementations -
Uses of NetworkGraph in org.ldk.structs
Fields in org.ldk.structs declared as NetworkGraph Modifier and Type Field Description NetworkGraphResult_NetworkGraphDecodeErrorZ.Result_NetworkGraphDecodeErrorZ_OK. resMethods in org.ldk.structs that return NetworkGraph Modifier and Type Method Description NetworkGraphNetworkGraph. clone()Creates a copy of the NetworkGraphstatic NetworkGraphNetworkGraph. of(byte[] genesis_hash)Creates a new, empty, network graph.Methods in org.ldk.structs with parameters of type NetworkGraph Modifier and Type Method Description static Result_RouteLightningErrorZUtilMethods. find_route(byte[] our_node_pubkey, RouteParameters params, NetworkGraph network, ChannelDetails[] first_hops, Logger logger, Score scorer)Finds a route from us (payer) to the given target node (payee).static DefaultRouterDefaultRouter. of(NetworkGraph network_graph, Logger logger)Creates a new router using the given [`NetworkGraph`] and [`Logger`].static NetGraphMsgHandlerNetGraphMsgHandler. of(NetworkGraph network_graph, Option_AccessZ chain_access, Logger logger)Creates a new tracker of the actual state of the network of channels and nodes, assuming an existing Network Graph.static Result_NetworkGraphDecodeErrorZResult_NetworkGraphDecodeErrorZ. ok(NetworkGraph o)Creates a new CResult_NetworkGraphDecodeErrorZ in the success state.
-