Packages

final case class ChannelAcceptResponse(accept: Boolean = false, pendingChanId: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, error: String = "", upfrontShutdown: String = "", csvDelay: UInt32 = lnrpc.ChannelAcceptResponse._typemapper_csvDelay.toCustom(0), reserveSat: UInt64 = lnrpc.ChannelAcceptResponse._typemapper_reserveSat.toCustom(0L), inFlightMaxMsat: UInt64 = lnrpc.ChannelAcceptResponse._typemapper_inFlightMaxMsat.toCustom(0L), maxHtlcCount: UInt32 = lnrpc.ChannelAcceptResponse._typemapper_maxHtlcCount.toCustom(0), minHtlcIn: UInt64 = lnrpc.ChannelAcceptResponse._typemapper_minHtlcIn.toCustom(0L), minAcceptDepth: UInt32 = lnrpc.ChannelAcceptResponse._typemapper_minAcceptDepth.toCustom(0), zeroConf: Boolean = false, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ChannelAcceptResponse] with Product with Serializable

accept

Whether or not the client accepts the channel.

pendingChanId

The pending channel id to which this response applies.

error

An optional error to send the initiating party to indicate why the channel was rejected. This field *should not* contain sensitive information, it will be sent to the initiating party. This field should only be set if accept is false, the channel will be rejected if an error is set with accept=true because the meaning of this response is ambiguous. Limited to 500 characters.

upfrontShutdown

The upfront shutdown address to use if the initiating peer supports option upfront shutdown script (see ListPeers for the features supported). Note that the channel open will fail if this value is set for a peer that does not support this feature bit.

csvDelay

The csv delay (in blocks) that we require for the remote party.

reserveSat

The reserve amount in satoshis that we require the remote peer to adhere to. We require that the remote peer always have some reserve amount allocated to them so that there is always a disincentive to broadcast old state (if they hold 0 sats on their side of the channel, there is nothing to lose).

inFlightMaxMsat

The maximum amount of funds in millisatoshis that we allow the remote peer to have in outstanding htlcs.

maxHtlcCount

The maximum number of htlcs that the remote peer can offer us.

minHtlcIn

The minimum value in millisatoshis for incoming htlcs on the channel.

minAcceptDepth

The number of confirmations we require before we consider the channel open.

zeroConf

Whether the responder wants this to be a zero-conf channel. This will fail if either side does not have the scid-alias feature bit set. The minimum depth field must be zero if this is true.

Annotations
@SerialVersionUID()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChannelAcceptResponse
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ChannelAcceptResponse(accept: Boolean = false, pendingChanId: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, error: String = "", upfrontShutdown: String = "", csvDelay: UInt32 = lnrpc.ChannelAcceptResponse._typemapper_csvDelay.toCustom(0), reserveSat: UInt64 = lnrpc.ChannelAcceptResponse._typemapper_reserveSat.toCustom(0L), inFlightMaxMsat: UInt64 = lnrpc.ChannelAcceptResponse._typemapper_inFlightMaxMsat.toCustom(0L), maxHtlcCount: UInt32 = lnrpc.ChannelAcceptResponse._typemapper_maxHtlcCount.toCustom(0), minHtlcIn: UInt64 = lnrpc.ChannelAcceptResponse._typemapper_minHtlcIn.toCustom(0L), minAcceptDepth: UInt32 = lnrpc.ChannelAcceptResponse._typemapper_minAcceptDepth.toCustom(0), zeroConf: Boolean = false, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)

    accept

    Whether or not the client accepts the channel.

    pendingChanId

    The pending channel id to which this response applies.

    error

    An optional error to send the initiating party to indicate why the channel was rejected. This field *should not* contain sensitive information, it will be sent to the initiating party. This field should only be set if accept is false, the channel will be rejected if an error is set with accept=true because the meaning of this response is ambiguous. Limited to 500 characters.

    upfrontShutdown

    The upfront shutdown address to use if the initiating peer supports option upfront shutdown script (see ListPeers for the features supported). Note that the channel open will fail if this value is set for a peer that does not support this feature bit.

    csvDelay

    The csv delay (in blocks) that we require for the remote party.

    reserveSat

    The reserve amount in satoshis that we require the remote peer to adhere to. We require that the remote peer always have some reserve amount allocated to them so that there is always a disincentive to broadcast old state (if they hold 0 sats on their side of the channel, there is nothing to lose).

    inFlightMaxMsat

    The maximum amount of funds in millisatoshis that we allow the remote peer to have in outstanding htlcs.

    maxHtlcCount

    The maximum number of htlcs that the remote peer can offer us.

    minHtlcIn

    The minimum value in millisatoshis for incoming htlcs on the channel.

    minAcceptDepth

    The number of confirmations we require before we consider the channel open.

    zeroConf

    Whether the responder wants this to be a zero-conf channel. This will fail if either side does not have the scid-alias feature bit set. The minimum depth field must be zero if this is true.

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. val accept: Boolean
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def companion: ChannelAcceptResponse.type
    Definition Classes
    ChannelAcceptResponse → GeneratedMessage
  8. val csvDelay: UInt32
  9. def discardUnknownFields: ChannelAcceptResponse
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. val error: String
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    ChannelAcceptResponse → GeneratedMessage
  15. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    ChannelAcceptResponse → GeneratedMessage
  16. val inFlightMaxMsat: UInt64
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val maxHtlcCount: UInt32
  19. val minAcceptDepth: UInt32
  20. val minHtlcIn: UInt64
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. val pendingChanId: ByteString
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. val reserveSat: UInt64
  27. def serializedSize: Int
    Definition Classes
    ChannelAcceptResponse → GeneratedMessage
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  30. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  31. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  32. def toProtoString: String
    Definition Classes
    ChannelAcceptResponse → GeneratedMessage
  33. val unknownFields: UnknownFieldSet
  34. def update(ms: (Lens[ChannelAcceptResponse, ChannelAcceptResponse]) => Mutation[ChannelAcceptResponse]*): ChannelAcceptResponse
    Definition Classes
    Updatable
  35. val upfrontShutdown: String
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. def withAccept(__v: Boolean): ChannelAcceptResponse
  40. def withCsvDelay(__v: UInt32): ChannelAcceptResponse
  41. def withError(__v: String): ChannelAcceptResponse
  42. def withInFlightMaxMsat(__v: UInt64): ChannelAcceptResponse
  43. def withMaxHtlcCount(__v: UInt32): ChannelAcceptResponse
  44. def withMinAcceptDepth(__v: UInt32): ChannelAcceptResponse
  45. def withMinHtlcIn(__v: UInt64): ChannelAcceptResponse
  46. def withPendingChanId(__v: ByteString): ChannelAcceptResponse
  47. def withReserveSat(__v: UInt64): ChannelAcceptResponse
  48. def withUnknownFields(__v: UnknownFieldSet): ChannelAcceptResponse
  49. def withUpfrontShutdown(__v: String): ChannelAcceptResponse
  50. def withZeroConf(__v: Boolean): ChannelAcceptResponse
  51. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  52. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    ChannelAcceptResponse → GeneratedMessage
  53. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  54. val zeroConf: Boolean

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped