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()
- Alphabetic
- By Inheritance
- ChannelEdge
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- 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
- def addAllCustomRecords(__vs: Iterable[(UInt64, ByteString)]): ChannelEdge
- def addCustomRecords(__vs: (UInt64, ByteString)*): ChannelEdge
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val capacity: Long
- val chanPoint: String
- val channelId: UInt64
- def clearCustomRecords: ChannelEdge
- def clearNode1Policy: ChannelEdge
- def clearNode2Policy: ChannelEdge
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: ChannelEdge.type
- Definition Classes
- ChannelEdge → GeneratedMessage
- val customRecords: Map[UInt64, ByteString]
- def discardUnknownFields: ChannelEdge
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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
- ChannelEdge → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- ChannelEdge → GeneratedMessage
- def getNode1Policy: RoutingPolicy
- def getNode2Policy: RoutingPolicy
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val node1Policy: Option[RoutingPolicy]
- val node1Pub: String
- val node2Policy: Option[RoutingPolicy]
- val node2Pub: String
- 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
- ChannelEdge → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
- ChannelEdge → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[ChannelEdge, ChannelEdge]) => Mutation[ChannelEdge]*): ChannelEdge
- 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 withCapacity(__v: Long): ChannelEdge
- def withChanPoint(__v: String): ChannelEdge
- def withChannelId(__v: UInt64): ChannelEdge
- def withCustomRecords(__v: Map[UInt64, ByteString]): ChannelEdge
- def withLastUpdate(__v: UInt32): ChannelEdge
- def withNode1Policy(__v: RoutingPolicy): ChannelEdge
- def withNode1Pub(__v: String): ChannelEdge
- def withNode2Policy(__v: RoutingPolicy): ChannelEdge
- def withNode2Pub(__v: String): ChannelEdge
- def withUnknownFields(__v: UnknownFieldSet): ChannelEdge
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- ChannelEdge → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage