object WitnessType extends GeneratedEnumCompanion[WitnessType]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WitnessType
  2. GeneratedEnumCompanion
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait Recognized extends WitnessType
  2. final case class Unrecognized(unrecognizedValue: Int) extends WitnessType with UnrecognizedEnum with Product with Serializable
    Annotations
    @SerialVersionUID()
  3. type ValueType = WitnessType
    Definition Classes
    GeneratedEnumCompanion

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. implicit def enumCompanion: GeneratedEnumCompanion[WitnessType]
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. def fromName(name: String): Option[WitnessType]
    Definition Classes
    GeneratedEnumCompanion
  11. def fromValue(__value: Int): WitnessType
    Definition Classes
    WitnessType → GeneratedEnumCompanion
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def javaDescriptor: EnumDescriptor
    Definition Classes
    WitnessType → GeneratedEnumCompanion
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def scalaDescriptor: EnumDescriptor
    Definition Classes
    WitnessType → GeneratedEnumCompanion
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. lazy val values: Seq[ValueType]
    Definition Classes
    WitnessType → GeneratedEnumCompanion
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. case object COMMITMENT_ANCHOR extends WitnessType with Recognized with Product with Serializable

    A witness type that allows us to spend our anchor on the commitment transaction.

    A witness type that allows us to spend our anchor on the commitment transaction.

    Annotations
    @SerialVersionUID()
  27. case object COMMITMENT_NO_DELAY extends WitnessType with Recognized with Product with Serializable

    A witness that allows us to spend a settled no-delay output immediately on a counterparty's commitment transaction.

    A witness that allows us to spend a settled no-delay output immediately on a counterparty's commitment transaction.

    Annotations
    @SerialVersionUID()
  28. case object COMMITMENT_NO_DELAY_TWEAKLESS extends WitnessType with Recognized with Product with Serializable

    A witness type that is similar to the COMMITMENT_NO_DELAY type, but it omits the tweak that randomizes the key we need to spend with a channel peer supplied set of randomness.

    A witness type that is similar to the COMMITMENT_NO_DELAY type, but it omits the tweak that randomizes the key we need to spend with a channel peer supplied set of randomness.

    Annotations
    @SerialVersionUID()
  29. case object COMMITMENT_REVOKE extends WitnessType with Recognized with Product with Serializable

    A witness that allows us to sweep the settled output of a malicious counterparty's who broadcasts a revoked commitment transaction.

    A witness that allows us to sweep the settled output of a malicious counterparty's who broadcasts a revoked commitment transaction.

    Annotations
    @SerialVersionUID()
  30. case object COMMITMENT_TIME_LOCK extends WitnessType with Recognized with Product with Serializable

    A witness that allows us to spend the output of a commitment transaction after a relative lock-time lockout.

    A witness that allows us to spend the output of a commitment transaction after a relative lock-time lockout.

    Annotations
    @SerialVersionUID()
  31. case object COMMITMENT_TO_REMOTE_CONFIRMED extends WitnessType with Recognized with Product with Serializable

    A witness type that allows us to spend our output on the counterparty's commitment transaction after a confirmation.

    A witness type that allows us to spend our output on the counterparty's commitment transaction after a confirmation.

    Annotations
    @SerialVersionUID()
  32. case object HTLC_ACCEPTED_REMOTE_SUCCESS extends WitnessType with Recognized with Product with Serializable

    A witness that allows us to sweep an HTLC that was offered to us by the remote party.

    A witness that allows us to sweep an HTLC that was offered to us by the remote party. We use this witness in the case that the remote party goes to chain, and we know the pre-image to the HTLC. We can sweep this without any additional timeout.

    Annotations
    @SerialVersionUID()
  33. case object HTLC_ACCEPTED_REVOKE extends WitnessType with Recognized with Product with Serializable

    A witness that allows us to sweep an HTLC output sent to us in the case that the remote party broadcasts a revoked commitment state.

    A witness that allows us to sweep an HTLC output sent to us in the case that the remote party broadcasts a revoked commitment state.

    Annotations
    @SerialVersionUID()
  34. case object HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL extends WitnessType with Recognized with Product with Serializable

    A witness that allows us to sweep an HTLC output that was offered to us, and for which we have a payment preimage.

    A witness that allows us to sweep an HTLC output that was offered to us, and for which we have a payment preimage. This HTLC output isn't directly on our commitment transaction, but is the result of confirmed second-level HTLC transaction. As a result, we can only spend this after a CSV delay.

    Annotations
    @SerialVersionUID()
  35. case object HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL_INPUT_CONFIRMED extends WitnessType with Recognized with Product with Serializable

    A witness type that allows us to sweep an HTLC output that was offered to us, and for which we have a payment preimage.

    A witness type that allows us to sweep an HTLC output that was offered to us, and for which we have a payment preimage. This _is_ the HTLC output directly on our commitment transaction, and the input to the second-level HTLC success transaction. It can only be spent after the commitment has confirmed.

    Annotations
    @SerialVersionUID()
  36. case object HTLC_OFFERED_REMOTE_TIMEOUT extends WitnessType with Recognized with Product with Serializable

    A witness that allows us to sweep an HTLC that we offered to the remote party which lies in the commitment transaction of the remote party.

    A witness that allows us to sweep an HTLC that we offered to the remote party which lies in the commitment transaction of the remote party. We can spend this output after the absolute CLTV timeout of the HTLC as passed.

    Annotations
    @SerialVersionUID()
  37. case object HTLC_OFFERED_REVOKE extends WitnessType with Recognized with Product with Serializable

    A witness that allows us to sweep an HTLC which we offered to the remote party in the case that they broadcast a revoked commitment state.

    A witness that allows us to sweep an HTLC which we offered to the remote party in the case that they broadcast a revoked commitment state.

    Annotations
    @SerialVersionUID()
  38. case object HTLC_OFFERED_TIMEOUT_SECOND_LEVEL extends WitnessType with Recognized with Product with Serializable

    A witness that allows us to sweep an HTLC output that we extended to a party, but was never fulfilled.

    A witness that allows us to sweep an HTLC output that we extended to a party, but was never fulfilled. This HTLC output isn't directly on the commitment transaction, but is the result of a confirmed second-level HTLC transaction. As a result, we can only spend this after a CSV delay.

    Annotations
    @SerialVersionUID()
  39. case object HTLC_OFFERED_TIMEOUT_SECOND_LEVEL_INPUT_CONFIRMED extends WitnessType with Recognized with Product with Serializable

    A witness type that allows us to sweep an HTLC output that we extended to a party, but was never fulfilled.

    A witness type that allows us to sweep an HTLC output that we extended to a party, but was never fulfilled. This _is_ the HTLC output directly on our commitment transaction, and the input to the second-level HTLC timeout transaction. It can only be spent after CLTV expiry, and commitment confirmation.

    Annotations
    @SerialVersionUID()
  40. case object HTLC_SECOND_LEVEL_REVOKE extends WitnessType with Recognized with Product with Serializable

    A witness that allows us to sweep an HTLC from the remote party's commitment transaction in the case that the broadcast a revoked commitment, but then also immediately attempt to go to the second level to claim the HTLC.

    A witness that allows us to sweep an HTLC from the remote party's commitment transaction in the case that the broadcast a revoked commitment, but then also immediately attempt to go to the second level to claim the HTLC.

    Annotations
    @SerialVersionUID()
  41. case object LEASE_COMMITMENT_TIME_LOCK extends WitnessType with Recognized with Product with Serializable

    A witness type that allows us to spend our output on our local commitment transaction after a relative and absolute lock-time lockout as part of the script enforced lease commitment type.

    A witness type that allows us to spend our output on our local commitment transaction after a relative and absolute lock-time lockout as part of the script enforced lease commitment type.

    Annotations
    @SerialVersionUID()
  42. case object LEASE_COMMITMENT_TO_REMOTE_CONFIRMED extends WitnessType with Recognized with Product with Serializable

    A witness type that allows us to spend our output on the counterparty's commitment transaction after a confirmation and absolute locktime as part of the script enforced lease commitment type.

    A witness type that allows us to spend our output on the counterparty's commitment transaction after a confirmation and absolute locktime as part of the script enforced lease commitment type.

    Annotations
    @SerialVersionUID()
  43. case object LEASE_HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL extends WitnessType with Recognized with Product with Serializable

    A witness type that allows us to sweep an HTLC output that was offered to us, and for which we have a payment preimage.

    A witness type that allows us to sweep an HTLC output that was offered to us, and for which we have a payment preimage. This HTLC output isn't directly on our commitment transaction, but is the result of confirmed second-level HTLC transaction. As a result, we can only spend this after a CSV delay and CLTV locktime as part of the script enforced lease commitment type.

    Annotations
    @SerialVersionUID()
  44. case object LEASE_HTLC_OFFERED_TIMEOUT_SECOND_LEVEL extends WitnessType with Recognized with Product with Serializable

    A witness type that allows us to sweep an HTLC output that we extended to a party, but was never fulfilled.

    A witness type that allows us to sweep an HTLC output that we extended to a party, but was never fulfilled. This HTLC output isn't directly on the commitment transaction, but is the result of a confirmed second-level HTLC transaction. As a result, we can only spend this after a CSV delay and CLTV locktime as part of the script enforced lease commitment type.

    Annotations
    @SerialVersionUID()
  45. case object NESTED_WITNESS_KEY_HASH extends WitnessType with Recognized with Product with Serializable

    A witness type that allows us to sweep an output that sends to a nested P2SH script that pays to a key solely under our control.

    A witness type that allows us to sweep an output that sends to a nested P2SH script that pays to a key solely under our control.

    Annotations
    @SerialVersionUID()
  46. case object TAPROOT_PUB_KEY_SPEND extends WitnessType with Recognized with Product with Serializable

    A witness type that allows us to spend a regular p2tr output that's sent to an output which is under complete control of the backing wallet.

    A witness type that allows us to spend a regular p2tr output that's sent to an output which is under complete control of the backing wallet.

    Annotations
    @SerialVersionUID()
  47. case object UNKNOWN_WITNESS extends WitnessType with Recognized with Product with Serializable
    Annotations
    @SerialVersionUID()
  48. case object WITNESS_KEY_HASH extends WitnessType with Recognized with Product with Serializable

    A witness type that allows us to spend a regular p2wkh output that's sent to an output which is under complete control of the backing wallet.

    A witness type that allows us to spend a regular p2wkh output that's sent to an output which is under complete control of the backing wallet.

    Annotations
    @SerialVersionUID()

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped