Packages

final case class ChannelEdge(channelId: UInt64 = lnrpc.ChannelEdge._typemapper_channelId.toCustom(0L), chanPoint: String = "", lastUpdate: UInt32 = lnrpc.ChannelEdge._typemapper_lastUpdate.toCustom(0), node1Pub: String = "", node2Pub: String = "", capacity: Long = 0L, node1Policy: Option[RoutingPolicy] = _root_.scala.None, node2Policy: Option[RoutingPolicy] = _root_.scala.None, customRecords: Map[UInt64, ByteString] = _root_.scala.collection.immutable.Map.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ChannelEdge] with Product with Serializable

A fully authenticated channel along with all its unique attributes. Once an authenticated channel announcement has been processed on the network, then an instance of ChannelEdgeInfo encapsulating the channels attributes is stored. The other portions relevant to routing policy of a channel are stored within a ChannelEdgePolicy for each direction of the channel.

channelId

The unique channel ID for the channel. The first 3 bytes are the block height, the next 3 the index within the block, and the last 2 bytes are the output index for the channel.

customRecords

Custom channel announcement tlv records.

Annotations
@SerialVersionUID()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChannelEdge
  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 ChannelEdge(channelId: UInt64 = lnrpc.ChannelEdge._typemapper_channelId.toCustom(0L), chanPoint: String = "", lastUpdate: UInt32 = lnrpc.ChannelEdge._typemapper_lastUpdate.toCustom(0), node1Pub: String = "", node2Pub: String = "", capacity: Long = 0L, node1Policy: Option[RoutingPolicy] = _root_.scala.None, node2Policy: Option[RoutingPolicy] = _root_.scala.None, customRecords: Map[UInt64, ByteString] = _root_.scala.collection.immutable.Map.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)

    channelId

    The unique channel ID for the channel. The first 3 bytes are the block height, the next 3 the index within the block, and the last 2 bytes are the output index for the channel.

    customRecords

    Custom channel announcement tlv records.

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. def addAllCustomRecords(__vs: Iterable[(UInt64, ByteString)]): ChannelEdge
  5. def addCustomRecords(__vs: (UInt64, ByteString)*): ChannelEdge
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val capacity: Long
  8. val chanPoint: String
  9. val channelId: UInt64
  10. def clearCustomRecords: ChannelEdge
  11. def clearNode1Policy: ChannelEdge
  12. def clearNode2Policy: ChannelEdge
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. def companion: ChannelEdge.type
    Definition Classes
    ChannelEdge → GeneratedMessage
  15. val customRecords: Map[UInt64, ByteString]
  16. def discardUnknownFields: ChannelEdge
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    ChannelEdge → GeneratedMessage
  21. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    ChannelEdge → GeneratedMessage
  22. def getNode1Policy: RoutingPolicy
  23. def getNode2Policy: RoutingPolicy
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. val node1Policy: Option[RoutingPolicy]
  27. val node1Pub: String
  28. val node2Policy: Option[RoutingPolicy]
  29. val node2Pub: String
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def productElementNames: Iterator[String]
    Definition Classes
    Product
  33. def serializedSize: Int
    Definition Classes
    ChannelEdge → GeneratedMessage
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  36. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  37. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  38. def toProtoString: String
    Definition Classes
    ChannelEdge → GeneratedMessage
  39. val unknownFields: UnknownFieldSet
  40. def update(ms: (Lens[ChannelEdge, ChannelEdge]) => Mutation[ChannelEdge]*): ChannelEdge
    Definition Classes
    Updatable
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  44. def withCapacity(__v: Long): ChannelEdge
  45. def withChanPoint(__v: String): ChannelEdge
  46. def withChannelId(__v: UInt64): ChannelEdge
  47. def withCustomRecords(__v: Map[UInt64, ByteString]): ChannelEdge
  48. def withLastUpdate(__v: UInt32): ChannelEdge
  49. def withNode1Policy(__v: RoutingPolicy): ChannelEdge
  50. def withNode1Pub(__v: String): ChannelEdge
  51. def withNode2Policy(__v: RoutingPolicy): ChannelEdge
  52. def withNode2Pub(__v: String): ChannelEdge
  53. def withUnknownFields(__v: UnknownFieldSet): ChannelEdge
  54. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  55. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    ChannelEdge → GeneratedMessage
  56. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. val lastUpdate: UInt32
    Annotations
    @deprecated
    Deprecated

    (Since version ) Marked as deprecated in proto file

Inherited from Updatable[ChannelEdge]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped