final case class ChannelAcceptResponse(accept: Boolean = false, pendingChanId: ByteString = ..., error: String = "", upfrontShutdown: String = "", csvDelay: Int = 0, reserveSat: Long = 0L, inFlightMaxMsat: Long = 0L, maxHtlcCount: Int = 0, minHtlcIn: Long = 0L, minAcceptDepth: Int = 0, unknownFields: UnknownFieldSet = ...) 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.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- ChannelAcceptResponse
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ChannelAcceptResponse(accept: Boolean = false, pendingChanId: ByteString = ..., error: String = "", upfrontShutdown: String = "", csvDelay: Int = 0, reserveSat: Long = 0L, inFlightMaxMsat: Long = 0L, maxHtlcCount: Int = 0, minHtlcIn: Long = 0L, minAcceptDepth: Int = 0, unknownFields: UnknownFieldSet = ...)
- 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.
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( ... ) @native()
-
def
companion: ChannelAcceptResponse.type
- Definition Classes
- ChannelAcceptResponse → GeneratedMessage
- val csvDelay: Int
- 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[_]
- 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: Long
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxHtlcCount: Int
- val minAcceptDepth: Int
- val minHtlcIn: Long
-
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
- val reserveSat: Long
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withAccept(__v: Boolean): ChannelAcceptResponse
- def withCsvDelay(__v: Int): ChannelAcceptResponse
- def withError(__v: String): ChannelAcceptResponse
- def withInFlightMaxMsat(__v: Long): ChannelAcceptResponse
- def withMaxHtlcCount(__v: Int): ChannelAcceptResponse
- def withMinAcceptDepth(__v: Int): ChannelAcceptResponse
- def withMinHtlcIn(__v: Long): ChannelAcceptResponse
- def withPendingChanId(__v: ByteString): ChannelAcceptResponse
- def withReserveSat(__v: Long): ChannelAcceptResponse
- def withUnknownFields(__v: UnknownFieldSet): ChannelAcceptResponse
- def withUpfrontShutdown(__v: String): 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