Packages

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, 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.

Annotations
@SerialVersionUID()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BatchOpenChannel
  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 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, 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.

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. val closeAddress: String
  7. val commitmentType: CommitmentType
  8. def companion: BatchOpenChannel.type
    Definition Classes
    BatchOpenChannel → GeneratedMessage
  9. def discardUnknownFields: BatchOpenChannel
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    BatchOpenChannel → GeneratedMessage
  14. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    BatchOpenChannel → GeneratedMessage
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val localFundingAmount: Long
  17. val minHtlcMsat: Long
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. val nodePubkey: ByteString
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. val pendingChanId: ByteString
  23. val private: Boolean
  24. def productElementNames: Iterator[String]
    Definition Classes
    Product
  25. val pushSat: Long
  26. val remoteCsvDelay: UInt32
  27. def serializedSize: Int
    Definition Classes
    BatchOpenChannel → 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
    BatchOpenChannel → GeneratedMessage
  33. val unknownFields: UnknownFieldSet
  34. def update(ms: (Lens[BatchOpenChannel, BatchOpenChannel]) => Mutation[BatchOpenChannel]*): BatchOpenChannel
    Definition Classes
    Updatable
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. def withCloseAddress(__v: String): BatchOpenChannel
  39. def withCommitmentType(__v: CommitmentType): BatchOpenChannel
  40. def withLocalFundingAmount(__v: Long): BatchOpenChannel
  41. def withMinHtlcMsat(__v: Long): BatchOpenChannel
  42. def withNodePubkey(__v: ByteString): BatchOpenChannel
  43. def withPendingChanId(__v: ByteString): BatchOpenChannel
  44. def withPrivate(__v: Boolean): BatchOpenChannel
  45. def withPushSat(__v: Long): BatchOpenChannel
  46. def withRemoteCsvDelay(__v: UInt32): BatchOpenChannel
  47. def withUnknownFields(__v: UnknownFieldSet): BatchOpenChannel
  48. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  49. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    BatchOpenChannel → GeneratedMessage
  50. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Updatable[BatchOpenChannel]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped