Uses of Class
org.ldk.structs.ChannelDetails
-
Packages that use ChannelDetails Package Description org.ldk.structs -
-
Uses of ChannelDetails in org.ldk.structs
Fields in org.ldk.structs declared as ChannelDetails Modifier and Type Field Description ChannelDetailsResult_ChannelDetailsDecodeErrorZ.Result_ChannelDetailsDecodeErrorZ_OK. resMethods in org.ldk.structs that return ChannelDetails Modifier and Type Method Description ChannelDetailsChannelDetails. clone()Creates a copy of the ChannelDetailsChannelDetails[]Payer. first_hops()Returns the payer's channels.ChannelDetails[]Payer.PayerInterface. first_hops()Returns the payer's channels.ChannelDetails[]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_usable_channels()Gets the list of usable channels, in random order.static ChannelDetailsChannelDetails. 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, long user_channel_id_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_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_RouteLightningErrorZRouter. find_route(byte[] payer, RouteParameters route_params, byte[] payment_hash, ChannelDetails[] first_hops, Score scorer)Finds a [`Route`] between `payer` and `payee` for a payment with the given values.Result_RouteLightningErrorZRouter.RouterInterface. find_route(byte[] payer, RouteParameters route_params, byte[] payment_hash, ChannelDetails[] first_hops, Score scorer)Finds a [`Route`] between `payer` and `payee` for a payment with the given values.static Result_RouteLightningErrorZUtilMethods. 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).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 PhantomRouteHintsPhantomRouteHints. of(ChannelDetails[] channels_arg, long phantom_scid_arg, byte[] real_node_pubkey_arg)Constructs a new PhantomRouteHints given each fieldstatic Result_ChannelDetailsDecodeErrorZResult_ChannelDetailsDecodeErrorZ. ok(ChannelDetails o)Creates a new CResult_ChannelDetailsDecodeErrorZ in the success state.voidPhantomRouteHints. set_channels(ChannelDetails[] val)The list of channels to be included in the invoice route hints.
-