Packages

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()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChannelUpdate
  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 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

  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. val baseFee: UInt32
  6. val chainHash: ByteString
  7. val chanId: UInt64
  8. val channelFlags: UInt32
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def companion: ChannelUpdate.type
    Definition Classes
    ChannelUpdate → GeneratedMessage
  11. def discardUnknownFields: ChannelUpdate
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. val extraOpaqueData: ByteString
  14. val feeRate: UInt32
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    ChannelUpdate → GeneratedMessage
  18. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    ChannelUpdate → GeneratedMessage
  19. val htlcMaximumMsat: UInt64
  20. val htlcMinimumMsat: UInt64
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. val messageFlags: UInt32
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. def serializedSize: Int
    Definition Classes
    ChannelUpdate → GeneratedMessage
  28. val signature: ByteString
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. val timeLockDelta: UInt32
  31. val timestamp: UInt32
  32. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  33. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  34. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  35. def toProtoString: String
    Definition Classes
    ChannelUpdate → GeneratedMessage
  36. val unknownFields: UnknownFieldSet
  37. def update(ms: (Lens[ChannelUpdate, ChannelUpdate]) => Mutation[ChannelUpdate]*): ChannelUpdate
    Definition Classes
    Updatable
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  41. def withBaseFee(__v: UInt32): ChannelUpdate
  42. def withChainHash(__v: ByteString): ChannelUpdate
  43. def withChanId(__v: UInt64): ChannelUpdate
  44. def withChannelFlags(__v: UInt32): ChannelUpdate
  45. def withExtraOpaqueData(__v: ByteString): ChannelUpdate
  46. def withFeeRate(__v: UInt32): ChannelUpdate
  47. def withHtlcMaximumMsat(__v: UInt64): ChannelUpdate
  48. def withHtlcMinimumMsat(__v: UInt64): ChannelUpdate
  49. def withMessageFlags(__v: UInt32): ChannelUpdate
  50. def withSignature(__v: ByteString): ChannelUpdate
  51. def withTimeLockDelta(__v: UInt32): ChannelUpdate
  52. def withTimestamp(__v: UInt32): ChannelUpdate
  53. def withUnknownFields(__v: UnknownFieldSet): ChannelUpdate
  54. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  55. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    ChannelUpdate → GeneratedMessage
  56. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Updatable[ChannelUpdate]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped