Package org.ldk.structs
Class ClosureReason.DisconnectedPeer
- java.lang.Object
-
- org.ldk.structs.ClosureReason
-
- org.ldk.structs.ClosureReason.DisconnectedPeer
-
- Enclosing class:
- ClosureReason
public static final class ClosureReason.DisconnectedPeer extends ClosureReason
The peer disconnected prior to funding completing. In this case the spec mandates that we forget the channel entirely - we can attempt again if the peer reconnects. This includes cases where we restarted prior to funding completion, including prior to the initial [`ChannelMonitor`] persistence completing. In LDK versions prior to 0.0.107 this could also occur if we were unable to connect to the peer because of mutual incompatibility between us and our channel counterparty. [`ChannelMonitor`]: crate::chain::channelmonitor::ChannelMonitor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ldk.structs.ClosureReason
ClosureReason.CommitmentTxConfirmed, ClosureReason.CooperativeClosure, ClosureReason.CounterpartyForceClosed, ClosureReason.DisconnectedPeer, ClosureReason.FundingTimedOut, ClosureReason.HolderForceClosed, ClosureReason.OutdatedChannelManager, ClosureReason.ProcessingError
-
-
Method Summary
-
Methods inherited from class org.ldk.structs.ClosureReason
clone, commitment_tx_confirmed, cooperative_closure, counterparty_force_closed, disconnected_peer, eq, equals, finalize, funding_timed_out, holder_force_closed, outdated_channel_manager, processing_error, write
-
-