Uses of Class
org.ldk.structs.ChannelDetails
-
Packages that use ChannelDetails Package Description org.ldk.batteries org.ldk.structs -
-
Uses of ChannelDetails in org.ldk.batteries
Methods in org.ldk.batteries with parameters of type ChannelDetails Modifier and Type Method Description Result_RouteLightningErrorZ
ChannelManagerConstructor.RouterWrapper. find_route(byte[] payer_node_id, RouteParameters route_params, ChannelDetails[] first_hops, InFlightHtlcs inflight_htlcs, byte[] payment_hash, byte[] payment_id, DefaultRouter default_router)
Gets a route for the given payment. -
Uses of ChannelDetails in org.ldk.structs
Fields in org.ldk.structs declared as ChannelDetails Modifier and Type Field Description ChannelDetails
Result_ChannelDetailsDecodeErrorZ.Result_ChannelDetailsDecodeErrorZ_OK. res
Methods in org.ldk.structs that return ChannelDetails Modifier and Type Method Description ChannelDetails
ChannelDetails. clone()
Creates a copy of the ChannelDetailsChannelDetails[]
PhantomRouteHints. get_channels()
The list of channels to be included in the invoice route hints.ChannelDetails[]
ChannelManager. list_channels()
Gets the list of open channels, in random order.ChannelDetails[]
ChannelManager. list_channels_with_counterparty(byte[] counterparty_node_id)
Gets the list of channels we have with a given counterparty, in random order.ChannelDetails[]
ChannelManager. list_usable_channels()
Gets the list of usable channels, in random order.static ChannelDetails
ChannelDetails. of(byte[] channel_id_arg, ChannelCounterparty counterparty_arg, OutPoint funding_txo_arg, ChannelTypeFeatures channel_type_arg, Option_u64Z short_channel_id_arg, Option_u64Z outbound_scid_alias_arg, Option_u64Z inbound_scid_alias_arg, long channel_value_satoshis_arg, Option_u64Z unspendable_punishment_reserve_arg, UInt128 user_channel_id_arg, Option_u32Z feerate_sat_per_1000_weight_arg, long balance_msat_arg, long outbound_capacity_msat_arg, long next_outbound_htlc_limit_msat_arg, long inbound_capacity_msat_arg, Option_u32Z confirmations_required_arg, Option_u32Z confirmations_arg, Option_u16Z force_close_spend_delay_arg, boolean is_outbound_arg, boolean is_channel_ready_arg, boolean is_usable_arg, boolean is_public_arg, Option_u64Z inbound_htlc_minimum_msat_arg, Option_u64Z inbound_htlc_maximum_msat_arg, ChannelConfig config_arg)
Constructs a new ChannelDetails given each fieldMethods in org.ldk.structs with parameters of type ChannelDetails Modifier and Type Method Description Result_RouteLightningErrorZ
Router. find_route(byte[] payer, RouteParameters route_params, ChannelDetails[] first_hops, InFlightHtlcs inflight_htlcs)
Finds a [`Route`] between `payer` and `payee` for a payment with the given values.Result_RouteLightningErrorZ
Router.RouterInterface. find_route(byte[] payer, RouteParameters route_params, ChannelDetails[] first_hops, InFlightHtlcs inflight_htlcs)
Finds a [`Route`] between `payer` and `payee` for a payment with the given values.static Result_RouteLightningErrorZ
UtilMethods. find_route(byte[] our_node_pubkey, RouteParameters route_params, NetworkGraph network_graph, ChannelDetails[] first_hops, Logger logger, Score scorer, byte[] random_seed_bytes)
Finds a route from us (payer) to the given target node (payee).Result_RouteLightningErrorZ
Router. find_route_with_id(byte[] payer, RouteParameters route_params, ChannelDetails[] first_hops, InFlightHtlcs inflight_htlcs, byte[] _payment_hash, byte[] _payment_id)
Finds a [`Route`] between `payer` and `payee` for a payment with the given values.Result_RouteLightningErrorZ
Router.RouterInterface. find_route_with_id(byte[] payer, RouteParameters route_params, ChannelDetails[] first_hops, InFlightHtlcs inflight_htlcs, byte[] _payment_hash, byte[] _payment_id)
Finds a [`Route`] between `payer` and `payee` for a payment with the given values.Balance[]
ChainMonitor. get_claimable_balances(ChannelDetails[] ignored_channels)
Gets the balances in the contained [`ChannelMonitor`]s which are claimable on-chain or claims which are awaiting confirmation.static PhantomRouteHints
PhantomRouteHints. of(ChannelDetails[] channels_arg, long phantom_scid_arg, byte[] real_node_pubkey_arg)
Constructs a new PhantomRouteHints given each fieldstatic Result_ChannelDetailsDecodeErrorZ
Result_ChannelDetailsDecodeErrorZ. ok(ChannelDetails o)
Creates a new CResult_ChannelDetailsDecodeErrorZ in the success state.void
PhantomRouteHints. set_channels(ChannelDetails[] val)
The list of channels to be included in the invoice route hints.
-