final case class OpenChannelRequest(nodePubkey: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, nodePubkeyString: String = "", localFundingAmount: Long = 0L, pushSat: Long = 0L, targetConf: Int = 0, satPerByte: Long = 0L, private: Boolean = false, minHtlcMsat: Long = 0L, remoteCsvDelay: Int = 0, minConfs: Int = 0, spendUnconfirmed: Boolean = false, closeAddress: String = "", fundingShim: Option[FundingShim] = _root_.scala.None, remoteMaxValueInFlightMsat: Long = 0L, remoteMaxHtlcs: Int = 0, maxLocalCsv: Int = 0, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[OpenChannelRequest] 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.
- nodePubkeyString
The hex encoded pubkey of the node to open a channel with. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
- 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
- targetConf
The target number of blocks that the funding transaction should be confirmed by.
- satPerByte
A manual fee rate set in sat/byte that should be used when crafting the funding transaction.
- 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.
- minConfs
The minimum number of confirmations each one of your outputs used for the funding transaction must satisfy.
- spendUnconfirmed
Whether unconfirmed outputs should be used as inputs for the funding transaction.
- 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.
- fundingShim
Funding shims are an optional argument that allow the caller to intercept certain funding functionality. For example, a shim can be provided to use a particular key for the commitment key (ideally cold) rather than use one that is generated by the wallet as normal, or signal that signing will be carried out in an interactive manner (PSBT based).
- 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.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- OpenChannelRequest
- Product
- Equals
- Updatable
- GeneratedMessage
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new OpenChannelRequest(nodePubkey: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, nodePubkeyString: String = "", localFundingAmount: Long = 0L, pushSat: Long = 0L, targetConf: Int = 0, satPerByte: Long = 0L, private: Boolean = false, minHtlcMsat: Long = 0L, remoteCsvDelay: Int = 0, minConfs: Int = 0, spendUnconfirmed: Boolean = false, closeAddress: String = "", fundingShim: Option[FundingShim] = _root_.scala.None, remoteMaxValueInFlightMsat: Long = 0L, remoteMaxHtlcs: Int = 0, maxLocalCsv: Int = 0, 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.
- nodePubkeyString
The hex encoded pubkey of the node to open a channel with. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
- 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
- targetConf
The target number of blocks that the funding transaction should be confirmed by.
- satPerByte
A manual fee rate set in sat/byte that should be used when crafting the funding transaction.
- 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.
- minConfs
The minimum number of confirmations each one of your outputs used for the funding transaction must satisfy.
- spendUnconfirmed
Whether unconfirmed outputs should be used as inputs for the funding transaction.
- 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.
- fundingShim
Funding shims are an optional argument that allow the caller to intercept certain funding functionality. For example, a shim can be provided to use a particular key for the commitment key (ideally cold) rather than use one that is generated by the wallet as normal, or signal that signing will be carried out in an interactive manner (PSBT based).
- 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.
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
- def clearFundingShim: OpenChannelRequest
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val closeAddress: String
- def companion: OpenChannelRequest
- Definition Classes
- OpenChannelRequest → GeneratedMessage
- def discardUnknownFields: OpenChannelRequest
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val fundingShim: Option[FundingShim]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- OpenChannelRequest → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- OpenChannelRequest → GeneratedMessage
- def getFundingShim: FundingShim
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val localFundingAmount: Long
- val maxLocalCsv: Int
- val minConfs: Int
- 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 private: Boolean
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val pushSat: Long
- val remoteCsvDelay: Int
- val remoteMaxHtlcs: Int
- val remoteMaxValueInFlightMsat: Long
- val satPerByte: Long
- def serializedSize: Int
- Definition Classes
- OpenChannelRequest → GeneratedMessage
- val spendUnconfirmed: Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val targetConf: Int
- 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
- OpenChannelRequest → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[OpenChannelRequest, OpenChannelRequest]) => Mutation[OpenChannelRequest]*): OpenChannelRequest
- Definition Classes
- Updatable
- 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 withCloseAddress(__v: String): OpenChannelRequest
- def withFundingShim(__v: FundingShim): OpenChannelRequest
- def withLocalFundingAmount(__v: Long): OpenChannelRequest
- def withMaxLocalCsv(__v: Int): OpenChannelRequest
- def withMinConfs(__v: Int): OpenChannelRequest
- def withMinHtlcMsat(__v: Long): OpenChannelRequest
- def withNodePubkey(__v: ByteString): OpenChannelRequest
- def withNodePubkeyString(__v: String): OpenChannelRequest
- def withPrivate(__v: Boolean): OpenChannelRequest
- def withPushSat(__v: Long): OpenChannelRequest
- def withRemoteCsvDelay(__v: Int): OpenChannelRequest
- def withRemoteMaxHtlcs(__v: Int): OpenChannelRequest
- def withRemoteMaxValueInFlightMsat(__v: Long): OpenChannelRequest
- def withSatPerByte(__v: Long): OpenChannelRequest
- def withSpendUnconfirmed(__v: Boolean): OpenChannelRequest
- def withTargetConf(__v: Int): OpenChannelRequest
- def withUnknownFields(__v: UnknownFieldSet): OpenChannelRequest
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- OpenChannelRequest → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
- val nodePubkeyString: String
- Annotations
- @deprecated
- Deprecated
(Since version ) Marked as deprecated in proto file