final case class BatchOpenChannel(nodePubkey: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, localFundingAmount: Long = 0L, pushSat: Long = 0L, private: Boolean = false, minHtlcMsat: Long = 0L, remoteCsvDelay: UInt32 = lnrpc.BatchOpenChannel._typemapper_remoteCsvDelay.toCustom(0), closeAddress: String = "", pendingChanId: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, commitmentType: CommitmentType = lnrpc.CommitmentType.UNKNOWN_COMMITMENT_TYPE, remoteMaxValueInFlightMsat: UInt64 = lnrpc.BatchOpenChannel._typemapper_remoteMaxValueInFlightMsat.toCustom(0L), remoteMaxHtlcs: UInt32 = lnrpc.BatchOpenChannel._typemapper_remoteMaxHtlcs.toCustom(0), maxLocalCsv: UInt32 = lnrpc.BatchOpenChannel._typemapper_maxLocalCsv.toCustom(0), zeroConf: Boolean = false, scidAlias: Boolean = false, baseFee: UInt64 = lnrpc.BatchOpenChannel._typemapper_baseFee.toCustom(0L), feeRate: UInt64 = lnrpc.BatchOpenChannel._typemapper_feeRate.toCustom(0L), useBaseFee: Boolean = false, useFeeRate: Boolean = false, remoteChanReserveSat: UInt64 = lnrpc.BatchOpenChannel._typemapper_remoteChanReserveSat.toCustom(0L), memo: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[BatchOpenChannel] with Product with Serializable
- nodePubkey
The pubkey of the node to open a channel with. When using REST, this field must be encoded as base64.
- localFundingAmount
The number of satoshis the wallet should commit to the channel.
- pushSat
The number of satoshis to push to the remote side as part of the initial commitment state.
- private
Whether this channel should be private, not announced to the greater network.
- minHtlcMsat
The minimum value in millisatoshi we will require for incoming HTLCs on the channel.
- remoteCsvDelay
The delay we require on the remote's commitment transaction. If this is not set, it will be scaled automatically with the channel size.
- closeAddress
Close address is an optional address which specifies the address to which funds should be paid out to upon cooperative close. This field may only be set if the peer supports the option upfront feature bit (call listpeers to check). The remote peer will only accept cooperative closes to this address if it is set. Note: If this value is set on channel creation, you will *not* be able to cooperatively close out to a different address.
- pendingChanId
An optional, unique identifier of 32 random bytes that will be used as the pending channel ID to identify the channel while it is in the pre-pending state.
- commitmentType
The explicit commitment type to use. Note this field will only be used if the remote peer supports explicit channel negotiation.
- remoteMaxValueInFlightMsat
The maximum amount of coins in millisatoshi that can be pending within the channel. It only applies to the remote party.
- remoteMaxHtlcs
The maximum number of concurrent HTLCs we will allow the remote party to add to the commitment transaction.
- maxLocalCsv
Max local csv is the maximum csv delay we will allow for our own commitment transaction.
- zeroConf
If this is true, then a zero-conf channel open will be attempted.
- scidAlias
If this is true, then an option-scid-alias channel-type open will be attempted.
- baseFee
The base fee charged regardless of the number of milli-satoshis sent.
- feeRate
The fee rate in ppm (parts per million) that will be charged in proportion of the value of each forwarded HTLC.
- useBaseFee
If use_base_fee is true the open channel announcement will update the channel base fee with the value specified in base_fee. In the case of a base_fee of 0 use_base_fee is needed downstream to distinguish whether to use the default base fee value specified in the config or 0.
- useFeeRate
If use_fee_rate is true the open channel announcement will update the channel fee rate with the value specified in fee_rate. In the case of a fee_rate of 0 use_fee_rate is needed downstream to distinguish whether to use the default fee rate value specified in the config or 0.
- remoteChanReserveSat
The number of satoshis we require the remote peer to reserve. This value, if specified, must be above the dust limit and below 20% of the channel capacity.
- memo
An optional note-to-self to go along with the channel containing some useful information. This is only ever stored locally and in no way impacts the channel's operation.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- BatchOpenChannel
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new BatchOpenChannel(nodePubkey: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, localFundingAmount: Long = 0L, pushSat: Long = 0L, private: Boolean = false, minHtlcMsat: Long = 0L, remoteCsvDelay: UInt32 = lnrpc.BatchOpenChannel._typemapper_remoteCsvDelay.toCustom(0), closeAddress: String = "", pendingChanId: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, commitmentType: CommitmentType = lnrpc.CommitmentType.UNKNOWN_COMMITMENT_TYPE, remoteMaxValueInFlightMsat: UInt64 = lnrpc.BatchOpenChannel._typemapper_remoteMaxValueInFlightMsat.toCustom(0L), remoteMaxHtlcs: UInt32 = lnrpc.BatchOpenChannel._typemapper_remoteMaxHtlcs.toCustom(0), maxLocalCsv: UInt32 = lnrpc.BatchOpenChannel._typemapper_maxLocalCsv.toCustom(0), zeroConf: Boolean = false, scidAlias: Boolean = false, baseFee: UInt64 = lnrpc.BatchOpenChannel._typemapper_baseFee.toCustom(0L), feeRate: UInt64 = lnrpc.BatchOpenChannel._typemapper_feeRate.toCustom(0L), useBaseFee: Boolean = false, useFeeRate: Boolean = false, remoteChanReserveSat: UInt64 = lnrpc.BatchOpenChannel._typemapper_remoteChanReserveSat.toCustom(0L), memo: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- nodePubkey
The pubkey of the node to open a channel with. When using REST, this field must be encoded as base64.
- localFundingAmount
The number of satoshis the wallet should commit to the channel.
- pushSat
The number of satoshis to push to the remote side as part of the initial commitment state.
- private
Whether this channel should be private, not announced to the greater network.
- minHtlcMsat
The minimum value in millisatoshi we will require for incoming HTLCs on the channel.
- remoteCsvDelay
The delay we require on the remote's commitment transaction. If this is not set, it will be scaled automatically with the channel size.
- closeAddress
Close address is an optional address which specifies the address to which funds should be paid out to upon cooperative close. This field may only be set if the peer supports the option upfront feature bit (call listpeers to check). The remote peer will only accept cooperative closes to this address if it is set. Note: If this value is set on channel creation, you will *not* be able to cooperatively close out to a different address.
- pendingChanId
An optional, unique identifier of 32 random bytes that will be used as the pending channel ID to identify the channel while it is in the pre-pending state.
- commitmentType
The explicit commitment type to use. Note this field will only be used if the remote peer supports explicit channel negotiation.
- remoteMaxValueInFlightMsat
The maximum amount of coins in millisatoshi that can be pending within the channel. It only applies to the remote party.
- remoteMaxHtlcs
The maximum number of concurrent HTLCs we will allow the remote party to add to the commitment transaction.
- maxLocalCsv
Max local csv is the maximum csv delay we will allow for our own commitment transaction.
- zeroConf
If this is true, then a zero-conf channel open will be attempted.
- scidAlias
If this is true, then an option-scid-alias channel-type open will be attempted.
- baseFee
The base fee charged regardless of the number of milli-satoshis sent.
- feeRate
The fee rate in ppm (parts per million) that will be charged in proportion of the value of each forwarded HTLC.
- useBaseFee
If use_base_fee is true the open channel announcement will update the channel base fee with the value specified in base_fee. In the case of a base_fee of 0 use_base_fee is needed downstream to distinguish whether to use the default base fee value specified in the config or 0.
- useFeeRate
If use_fee_rate is true the open channel announcement will update the channel fee rate with the value specified in fee_rate. In the case of a fee_rate of 0 use_fee_rate is needed downstream to distinguish whether to use the default fee rate value specified in the config or 0.
- remoteChanReserveSat
The number of satoshis we require the remote peer to reserve. This value, if specified, must be above the dust limit and below 20% of the channel capacity.
- memo
An optional note-to-self to go along with the channel containing some useful information. This is only ever stored locally and in no way impacts the channel's operation.
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val baseFee: UInt64
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val closeAddress: String
- val commitmentType: CommitmentType
- def companion: BatchOpenChannel.type
- Definition Classes
- BatchOpenChannel → GeneratedMessage
- def discardUnknownFields: BatchOpenChannel
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val feeRate: UInt64
- 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
- BatchOpenChannel → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- BatchOpenChannel → GeneratedMessage
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val localFundingAmount: Long
- val maxLocalCsv: UInt32
- val memo: String
- val minHtlcMsat: Long
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nodePubkey: ByteString
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val pendingChanId: ByteString
- val private: Boolean
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val pushSat: Long
- val remoteChanReserveSat: UInt64
- val remoteCsvDelay: UInt32
- val remoteMaxHtlcs: UInt32
- val remoteMaxValueInFlightMsat: UInt64
- val scidAlias: Boolean
- def serializedSize: Int
- Definition Classes
- BatchOpenChannel → 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
- BatchOpenChannel → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[BatchOpenChannel, BatchOpenChannel]) => Mutation[BatchOpenChannel]*): BatchOpenChannel
- Definition Classes
- Updatable
- val useBaseFee: Boolean
- val useFeeRate: Boolean
- 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 withBaseFee(__v: UInt64): BatchOpenChannel
- def withCloseAddress(__v: String): BatchOpenChannel
- def withCommitmentType(__v: CommitmentType): BatchOpenChannel
- def withFeeRate(__v: UInt64): BatchOpenChannel
- def withLocalFundingAmount(__v: Long): BatchOpenChannel
- def withMaxLocalCsv(__v: UInt32): BatchOpenChannel
- def withMemo(__v: String): BatchOpenChannel
- def withMinHtlcMsat(__v: Long): BatchOpenChannel
- def withNodePubkey(__v: ByteString): BatchOpenChannel
- def withPendingChanId(__v: ByteString): BatchOpenChannel
- def withPrivate(__v: Boolean): BatchOpenChannel
- def withPushSat(__v: Long): BatchOpenChannel
- def withRemoteChanReserveSat(__v: UInt64): BatchOpenChannel
- def withRemoteCsvDelay(__v: UInt32): BatchOpenChannel
- def withRemoteMaxHtlcs(__v: UInt32): BatchOpenChannel
- def withRemoteMaxValueInFlightMsat(__v: UInt64): BatchOpenChannel
- def withScidAlias(__v: Boolean): BatchOpenChannel
- def withUnknownFields(__v: UnknownFieldSet): BatchOpenChannel
- def withUseBaseFee(__v: Boolean): BatchOpenChannel
- def withUseFeeRate(__v: Boolean): BatchOpenChannel
- def withZeroConf(__v: Boolean): BatchOpenChannel
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- BatchOpenChannel → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- val zeroConf: Boolean