Package org.ldk.structs
Class ClosureReason.CounterpartyForceClosed
- java.lang.Object
-
- org.ldk.structs.ClosureReason
-
- org.ldk.structs.ClosureReason.CounterpartyForceClosed
-
- Enclosing class:
- ClosureReason
public static final class ClosureReason.CounterpartyForceClosed extends ClosureReason
Closure generated from receiving a peer error message. Our counterparty may have broadcasted their latest commitment state, and we have as well.
-
-
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
-
-
Field Summary
Fields Modifier and Type Field Description UntrustedString
peer_msg
The error which the peer sent us.
-
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
-
-
-
-
Field Detail
-
peer_msg
public final UntrustedString peer_msg
The error which the peer sent us. Be careful about printing the peer_msg, a well-crafted message could exploit a security vulnerability in the terminal emulator or the logging subsystem. To be safe, use `Display` on `UntrustedString` [`UntrustedString`]: crate::util::string::UntrustedString
-
-