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()
- Alphabetic
- By Inheritance
- ChannelAcceptResponse
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val accept: Boolean
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: ChannelAcceptResponse.type
- Definition Classes
- ChannelAcceptResponse → GeneratedMessage
- val csvDelay: UInt32
- def discardUnknownFields: ChannelAcceptResponse
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val error: String
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- ChannelAcceptResponse → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- ChannelAcceptResponse → GeneratedMessage
- val inFlightMaxMsat: UInt64
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxHtlcCount: UInt32
- val minAcceptDepth: UInt32
- val minHtlcIn: UInt64
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val pendingChanId: ByteString
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val reserveSat: UInt64
- def serializedSize: Int
- Definition Classes
- ChannelAcceptResponse → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- ChannelAcceptResponse → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[ChannelAcceptResponse, ChannelAcceptResponse]) => Mutation[ChannelAcceptResponse]*): ChannelAcceptResponse
- Definition Classes
- Updatable
- val upfrontShutdown: String
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withAccept(__v: Boolean): ChannelAcceptResponse
- def withCsvDelay(__v: UInt32): ChannelAcceptResponse
- def withError(__v: String): ChannelAcceptResponse
- def withInFlightMaxMsat(__v: UInt64): ChannelAcceptResponse
- def withMaxHtlcCount(__v: UInt32): ChannelAcceptResponse
- def withMinAcceptDepth(__v: UInt32): ChannelAcceptResponse
- def withMinHtlcIn(__v: UInt64): ChannelAcceptResponse
- def withPendingChanId(__v: ByteString): ChannelAcceptResponse
- def withReserveSat(__v: UInt64): ChannelAcceptResponse
- def withUnknownFields(__v: UnknownFieldSet): ChannelAcceptResponse
- def withUpfrontShutdown(__v: String): ChannelAcceptResponse
- def withZeroConf(__v: Boolean): ChannelAcceptResponse
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- ChannelAcceptResponse → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- val zeroConf: Boolean