-
- All Implemented Interfaces:
-
org.lightningdevkit.ldknode.Disposable
public final class ChannelDetails implements Disposable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classChannelDetails.Companion
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ChannelDetails(String channelId, String counterpartyNodeId, OutPoint fundingTxo, ULong channelValueSats, ULong unspendablePunishmentReserve, String userChannelId, UInt feerateSatPer1000Weight, ULong balanceMsat, ULong outboundCapacityMsat, ULong inboundCapacityMsat, UInt confirmationsRequired, UInt confirmations, Boolean isOutbound, Boolean isChannelReady, Boolean isUsable, Boolean isPublic, UShort cltvExpiryDelta, ULong counterpartyUnspendablePunishmentReserve, ULong counterpartyOutboundHtlcMinimumMsat, ULong counterpartyOutboundHtlcMaximumMsat, UInt counterpartyForwardingInfoFeeBaseMsat, UInt counterpartyForwardingInfoFeeProportionalMillionths, UShort counterpartyForwardingInfoCltvExpiryDelta, ULong nextOutboundHtlcLimitMsat, ULong nextOutboundHtlcMinimumMsat, UShort forceCloseSpendDelay, ULong inboundHtlcMinimumMsat, ULong inboundHtlcMaximumMsat, ChannelConfig config)
-
Method Summary
-
-
Constructor Detail
-
ChannelDetails
ChannelDetails(String channelId, String counterpartyNodeId, OutPoint fundingTxo, ULong channelValueSats, ULong unspendablePunishmentReserve, String userChannelId, UInt feerateSatPer1000Weight, ULong balanceMsat, ULong outboundCapacityMsat, ULong inboundCapacityMsat, UInt confirmationsRequired, UInt confirmations, Boolean isOutbound, Boolean isChannelReady, Boolean isUsable, Boolean isPublic, UShort cltvExpiryDelta, ULong counterpartyUnspendablePunishmentReserve, ULong counterpartyOutboundHtlcMinimumMsat, ULong counterpartyOutboundHtlcMaximumMsat, UInt counterpartyForwardingInfoFeeBaseMsat, UInt counterpartyForwardingInfoFeeProportionalMillionths, UShort counterpartyForwardingInfoCltvExpiryDelta, ULong nextOutboundHtlcLimitMsat, ULong nextOutboundHtlcMinimumMsat, UShort forceCloseSpendDelay, ULong inboundHtlcMinimumMsat, ULong inboundHtlcMaximumMsat, ChannelConfig config)
-
-
Method Detail
-
getChannelId
final String getChannelId()
-
setChannelId
final Unit setChannelId(String channelId)
-
getCounterpartyNodeId
final String getCounterpartyNodeId()
-
setCounterpartyNodeId
final Unit setCounterpartyNodeId(String counterpartyNodeId)
-
getFundingTxo
final OutPoint getFundingTxo()
-
setFundingTxo
final Unit setFundingTxo(OutPoint fundingTxo)
-
getChannelValueSats
final ULong getChannelValueSats()
-
setChannelValueSats
final Unit setChannelValueSats(ULong channelValueSats)
-
getUnspendablePunishmentReserve
final ULong getUnspendablePunishmentReserve()
-
setUnspendablePunishmentReserve
final Unit setUnspendablePunishmentReserve(ULong unspendablePunishmentReserve)
-
getUserChannelId
final String getUserChannelId()
-
setUserChannelId
final Unit setUserChannelId(String userChannelId)
-
getFeerateSatPer1000Weight
final UInt getFeerateSatPer1000Weight()
-
setFeerateSatPer1000Weight
final Unit setFeerateSatPer1000Weight(UInt feerateSatPer1000Weight)
-
getBalanceMsat
final ULong getBalanceMsat()
-
setBalanceMsat
final Unit setBalanceMsat(ULong balanceMsat)
-
getOutboundCapacityMsat
final ULong getOutboundCapacityMsat()
-
setOutboundCapacityMsat
final Unit setOutboundCapacityMsat(ULong outboundCapacityMsat)
-
getInboundCapacityMsat
final ULong getInboundCapacityMsat()
-
setInboundCapacityMsat
final Unit setInboundCapacityMsat(ULong inboundCapacityMsat)
-
getConfirmationsRequired
final UInt getConfirmationsRequired()
-
setConfirmationsRequired
final Unit setConfirmationsRequired(UInt confirmationsRequired)
-
getConfirmations
final UInt getConfirmations()
-
setConfirmations
final Unit setConfirmations(UInt confirmations)
-
getIsOutbound
final Boolean getIsOutbound()
-
setIsOutbound
final Unit setIsOutbound(Boolean isOutbound)
-
getIsChannelReady
final Boolean getIsChannelReady()
-
setIsChannelReady
final Unit setIsChannelReady(Boolean isChannelReady)
-
getIsUsable
final Boolean getIsUsable()
-
setIsUsable
final Unit setIsUsable(Boolean isUsable)
-
getIsPublic
final Boolean getIsPublic()
-
setIsPublic
final Unit setIsPublic(Boolean isPublic)
-
getCltvExpiryDelta
final UShort getCltvExpiryDelta()
-
setCltvExpiryDelta
final Unit setCltvExpiryDelta(UShort cltvExpiryDelta)
-
getCounterpartyUnspendablePunishmentReserve
final ULong getCounterpartyUnspendablePunishmentReserve()
-
setCounterpartyUnspendablePunishmentReserve
final Unit setCounterpartyUnspendablePunishmentReserve(ULong counterpartyUnspendablePunishmentReserve)
-
getCounterpartyOutboundHtlcMinimumMsat
final ULong getCounterpartyOutboundHtlcMinimumMsat()
-
setCounterpartyOutboundHtlcMinimumMsat
final Unit setCounterpartyOutboundHtlcMinimumMsat(ULong counterpartyOutboundHtlcMinimumMsat)
-
getCounterpartyOutboundHtlcMaximumMsat
final ULong getCounterpartyOutboundHtlcMaximumMsat()
-
setCounterpartyOutboundHtlcMaximumMsat
final Unit setCounterpartyOutboundHtlcMaximumMsat(ULong counterpartyOutboundHtlcMaximumMsat)
-
getCounterpartyForwardingInfoFeeBaseMsat
final UInt getCounterpartyForwardingInfoFeeBaseMsat()
-
setCounterpartyForwardingInfoFeeBaseMsat
final Unit setCounterpartyForwardingInfoFeeBaseMsat(UInt counterpartyForwardingInfoFeeBaseMsat)
-
getCounterpartyForwardingInfoFeeProportionalMillionths
final UInt getCounterpartyForwardingInfoFeeProportionalMillionths()
-
setCounterpartyForwardingInfoFeeProportionalMillionths
final Unit setCounterpartyForwardingInfoFeeProportionalMillionths(UInt counterpartyForwardingInfoFeeProportionalMillionths)
-
getCounterpartyForwardingInfoCltvExpiryDelta
final UShort getCounterpartyForwardingInfoCltvExpiryDelta()
-
setCounterpartyForwardingInfoCltvExpiryDelta
final Unit setCounterpartyForwardingInfoCltvExpiryDelta(UShort counterpartyForwardingInfoCltvExpiryDelta)
-
getNextOutboundHtlcLimitMsat
final ULong getNextOutboundHtlcLimitMsat()
-
setNextOutboundHtlcLimitMsat
final Unit setNextOutboundHtlcLimitMsat(ULong nextOutboundHtlcLimitMsat)
-
getNextOutboundHtlcMinimumMsat
final ULong getNextOutboundHtlcMinimumMsat()
-
setNextOutboundHtlcMinimumMsat
final Unit setNextOutboundHtlcMinimumMsat(ULong nextOutboundHtlcMinimumMsat)
-
getForceCloseSpendDelay
final UShort getForceCloseSpendDelay()
-
setForceCloseSpendDelay
final Unit setForceCloseSpendDelay(UShort forceCloseSpendDelay)
-
getInboundHtlcMinimumMsat
final ULong getInboundHtlcMinimumMsat()
-
setInboundHtlcMinimumMsat
final Unit setInboundHtlcMinimumMsat(ULong inboundHtlcMinimumMsat)
-
getInboundHtlcMaximumMsat
final ULong getInboundHtlcMaximumMsat()
-
setInboundHtlcMaximumMsat
final Unit setInboundHtlcMaximumMsat(ULong inboundHtlcMaximumMsat)
-
getConfig
final ChannelConfig getConfig()
-
setConfig
final Unit setConfig(ChannelConfig config)
-
-
-
-