Class 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.
    • Field Detail

      • peer_msg

        public final String peer_msg
        The error which the peer sent us. The string should be sanitized before it is used (e.g emitted to logs or printed to stdout). Otherwise, a well crafted error message may exploit a security vulnerability in the terminal emulator or the logging subsystem.