Uses of Class
org.ldk.structs.EffectiveCapacity
-
Packages that use EffectiveCapacity Package Description org.ldk.structs -
-
Uses of EffectiveCapacity in org.ldk.structs
Subclasses of EffectiveCapacity in org.ldk.structs Modifier and Type Class Description static classEffectiveCapacity.ExactLiquidityThe available liquidity in the channel known from being a channel counterparty, and thus a direct hop.static classEffectiveCapacity.InfiniteA capacity sufficient to route any payment, typically used for private channels provided by an invoice.static classEffectiveCapacity.MaximumHTLCThe maximum HTLC amount in one direction as advertised on the gossip network.static classEffectiveCapacity.TotalThe total capacity of the channel as determined by the funding transaction.static classEffectiveCapacity.UnknownA capacity that is unknown possibly because either the chain state is unavailable to know the total capacity or the `htlc_maximum_msat` was not advertised on the gossip network.Methods in org.ldk.structs that return EffectiveCapacity Modifier and Type Method Description EffectiveCapacityEffectiveCapacity. clone()Creates a copy of the EffectiveCapacityEffectiveCapacityDirectedChannelInfo. effective_capacity()Returns the [`EffectiveCapacity`] of the channel in the direction.static EffectiveCapacityEffectiveCapacity. exact_liquidity(long liquidity_msat)Utility method to constructs a new ExactLiquidity-variant EffectiveCapacitystatic EffectiveCapacityEffectiveCapacity. infinite()Utility method to constructs a new Infinite-variant EffectiveCapacitystatic EffectiveCapacityEffectiveCapacity. maximum_htlc(long amount_msat)Utility method to constructs a new MaximumHTLC-variant EffectiveCapacitystatic EffectiveCapacityEffectiveCapacity. total(long capacity_msat)Utility method to constructs a new Total-variant EffectiveCapacitystatic EffectiveCapacityEffectiveCapacity. unknown()Utility method to constructs a new Unknown-variant EffectiveCapacity
-