Package org.ldk.structs
Class Balance.ContentiousClaimable
- java.lang.Object
-
- org.ldk.structs.Balance
-
- org.ldk.structs.Balance.ContentiousClaimable
-
- Enclosing class:
- Balance
public static final class Balance.ContentiousClaimable extends Balance
The channel has been closed, and the given balance should be ours but awaiting spending transaction confirmation. If the spending transaction does not confirm in time, it is possible our counterparty can take the funds by broadcasting an HTLC timeout on-chain. Once the spending transaction confirms, before it has reached enough confirmations to be considered safe from chain reorganizations, the balance will instead be provided via [`Balance::ClaimableAwaitingConfirmations`].
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ldk.structs.Balance
Balance.ClaimableAwaitingConfirmations, Balance.ClaimableOnChannelClose, Balance.ContentiousClaimable, Balance.CounterpartyRevokedOutputClaimable, Balance.MaybePreimageClaimableHTLC, Balance.MaybeTimeoutClaimableHTLC
-
-
Field Summary
Fields Modifier and Type Field Description longamount_satoshisThe amount available to claim, in satoshis, excluding the on-chain fees which will be required to do so.byte[]payment_hashThe payment hash that locks this HTLC.byte[]payment_preimageThe preimage that can be used to claim this HTLC.inttimeout_heightThe height at which the counterparty may be able to claim the balance if we have not done so.
-
Method Summary
-
Methods inherited from class org.ldk.structs.Balance
claimable_amount_satoshis, claimable_awaiting_confirmations, claimable_on_channel_close, clone, contentious_claimable, counterparty_revoked_output_claimable, eq, equals, finalize, maybe_preimage_claimable_htlc, maybe_timeout_claimable_htlc
-
-
-
-
Field Detail
-
amount_satoshis
public final long amount_satoshis
The amount available to claim, in satoshis, excluding the on-chain fees which will be required to do so.
-
timeout_height
public final int timeout_height
The height at which the counterparty may be able to claim the balance if we have not done so.
-
payment_hash
public final byte[] payment_hash
The payment hash that locks this HTLC.
-
payment_preimage
public final byte[] payment_preimage
The preimage that can be used to claim this HTLC.
-
-