final case class ChannelUpdate(signature: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, chainHash: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, chanId: UInt64 = lnrpc.ChannelUpdate._typemapper_chanId.toCustom(0L), timestamp: UInt32 = lnrpc.ChannelUpdate._typemapper_timestamp.toCustom(0), messageFlags: UInt32 = lnrpc.ChannelUpdate._typemapper_messageFlags.toCustom(0), channelFlags: UInt32 = lnrpc.ChannelUpdate._typemapper_channelFlags.toCustom(0), timeLockDelta: UInt32 = lnrpc.ChannelUpdate._typemapper_timeLockDelta.toCustom(0), htlcMinimumMsat: UInt64 = lnrpc.ChannelUpdate._typemapper_htlcMinimumMsat.toCustom(0L), baseFee: UInt32 = lnrpc.ChannelUpdate._typemapper_baseFee.toCustom(0), feeRate: UInt32 = lnrpc.ChannelUpdate._typemapper_feeRate.toCustom(0), htlcMaximumMsat: UInt64 = lnrpc.ChannelUpdate._typemapper_htlcMaximumMsat.toCustom(0L), extraOpaqueData: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ChannelUpdate] with Product with Serializable
- signature
The signature that validates the announced data and proves the ownership of node id.
- chainHash
The target chain that this channel was opened within. This value should be the genesis hash of the target chain. Along with the short channel ID, this uniquely identifies the channel globally in a blockchain.
- chanId
The unique description of the funding transaction.
- timestamp
A timestamp that allows ordering in the case of multiple announcements. We should ignore the message if timestamp is not greater than the last-received.
- messageFlags
The bitfield that describes whether optional fields are present in this update. Currently, the least-significant bit must be set to 1 if the optional field MaxHtlc is present.
- channelFlags
The bitfield that describes additional meta-data concerning how the update is to be interpreted. Currently, the least-significant bit must be set to 0 if the creating node corresponds to the first node in the previously sent channel announcement and 1 otherwise. If the second bit is set, then the channel is set to be disabled.
- timeLockDelta
The minimum number of blocks this node requires to be added to the expiry of HTLCs. This is a security parameter determined by the node operator. This value represents the required gap between the time locks of the incoming and outgoing HTLC's set to this node.
- htlcMinimumMsat
The minimum HTLC value which will be accepted.
- baseFee
The base fee that must be used for incoming HTLC's to this particular channel. This value will be tacked onto the required for a payment independent of the size of the payment.
- feeRate
The fee rate that will be charged per millionth of a satoshi.
- htlcMaximumMsat
The maximum HTLC value which will be accepted.
- extraOpaqueData
The set of data that was appended to this message, some of which we may not actually know how to iterate or parse. By holding onto this data, we ensure that we're able to properly validate the set of signatures that cover these new fields, and ensure we're able to make upgrades to the network in a forwards compatible manner.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- ChannelUpdate
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ChannelUpdate(signature: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, chainHash: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, chanId: UInt64 = lnrpc.ChannelUpdate._typemapper_chanId.toCustom(0L), timestamp: UInt32 = lnrpc.ChannelUpdate._typemapper_timestamp.toCustom(0), messageFlags: UInt32 = lnrpc.ChannelUpdate._typemapper_messageFlags.toCustom(0), channelFlags: UInt32 = lnrpc.ChannelUpdate._typemapper_channelFlags.toCustom(0), timeLockDelta: UInt32 = lnrpc.ChannelUpdate._typemapper_timeLockDelta.toCustom(0), htlcMinimumMsat: UInt64 = lnrpc.ChannelUpdate._typemapper_htlcMinimumMsat.toCustom(0L), baseFee: UInt32 = lnrpc.ChannelUpdate._typemapper_baseFee.toCustom(0), feeRate: UInt32 = lnrpc.ChannelUpdate._typemapper_feeRate.toCustom(0), htlcMaximumMsat: UInt64 = lnrpc.ChannelUpdate._typemapper_htlcMaximumMsat.toCustom(0L), extraOpaqueData: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- signature
The signature that validates the announced data and proves the ownership of node id.
- chainHash
The target chain that this channel was opened within. This value should be the genesis hash of the target chain. Along with the short channel ID, this uniquely identifies the channel globally in a blockchain.
- chanId
The unique description of the funding transaction.
- timestamp
A timestamp that allows ordering in the case of multiple announcements. We should ignore the message if timestamp is not greater than the last-received.
- messageFlags
The bitfield that describes whether optional fields are present in this update. Currently, the least-significant bit must be set to 1 if the optional field MaxHtlc is present.
- channelFlags
The bitfield that describes additional meta-data concerning how the update is to be interpreted. Currently, the least-significant bit must be set to 0 if the creating node corresponds to the first node in the previously sent channel announcement and 1 otherwise. If the second bit is set, then the channel is set to be disabled.
- timeLockDelta
The minimum number of blocks this node requires to be added to the expiry of HTLCs. This is a security parameter determined by the node operator. This value represents the required gap between the time locks of the incoming and outgoing HTLC's set to this node.
- htlcMinimumMsat
The minimum HTLC value which will be accepted.
- baseFee
The base fee that must be used for incoming HTLC's to this particular channel. This value will be tacked onto the required for a payment independent of the size of the payment.
- feeRate
The fee rate that will be charged per millionth of a satoshi.
- htlcMaximumMsat
The maximum HTLC value which will be accepted.
- extraOpaqueData
The set of data that was appended to this message, some of which we may not actually know how to iterate or parse. By holding onto this data, we ensure that we're able to properly validate the set of signatures that cover these new fields, and ensure we're able to make upgrades to the network in a forwards compatible manner.
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: UInt32
- val chainHash: ByteString
- val chanId: UInt64
- val channelFlags: UInt32
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: ChannelUpdate.type
- Definition Classes
- ChannelUpdate → GeneratedMessage
- def discardUnknownFields: ChannelUpdate
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val extraOpaqueData: ByteString
- val feeRate: UInt32
- 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
- ChannelUpdate → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- ChannelUpdate → GeneratedMessage
- val htlcMaximumMsat: UInt64
- val htlcMinimumMsat: UInt64
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val messageFlags: UInt32
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- ChannelUpdate → GeneratedMessage
- val signature: ByteString
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val timeLockDelta: UInt32
- val timestamp: UInt32
- 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
- ChannelUpdate → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[ChannelUpdate, ChannelUpdate]) => Mutation[ChannelUpdate]*): ChannelUpdate
- 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 withBaseFee(__v: UInt32): ChannelUpdate
- def withChainHash(__v: ByteString): ChannelUpdate
- def withChanId(__v: UInt64): ChannelUpdate
- def withChannelFlags(__v: UInt32): ChannelUpdate
- def withExtraOpaqueData(__v: ByteString): ChannelUpdate
- def withFeeRate(__v: UInt32): ChannelUpdate
- def withHtlcMaximumMsat(__v: UInt64): ChannelUpdate
- def withHtlcMinimumMsat(__v: UInt64): ChannelUpdate
- def withMessageFlags(__v: UInt32): ChannelUpdate
- def withSignature(__v: ByteString): ChannelUpdate
- def withTimeLockDelta(__v: UInt32): ChannelUpdate
- def withTimestamp(__v: UInt32): ChannelUpdate
- def withUnknownFields(__v: UnknownFieldSet): ChannelUpdate
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- ChannelUpdate → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage