final case class ChannelEdge(channelId: Long = 0L, chanPoint: String = "", lastUpdate: Int = 0, node1Pub: String = "", node2Pub: String = "", capacity: Long = 0L, node1Policy: Option[RoutingPolicy] = _root_.scala.None, node2Policy: Option[RoutingPolicy] = _root_.scala.None, unknownFields: UnknownFieldSet = ...) 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.
- Annotations
- @SerialVersionUID()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ChannelEdge
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
ChannelEdge(channelId: Long = 0L, chanPoint: String = "", lastUpdate: Int = 0, node1Pub: String = "", node2Pub: String = "", capacity: Long = 0L, node1Policy: Option[RoutingPolicy] = _root_.scala.None, node2Policy: Option[RoutingPolicy] = _root_.scala.None, unknownFields: UnknownFieldSet = ...)
- 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.
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 capacity: Long
- val chanPoint: String
- val channelId: Long
- def clearNode1Policy: ChannelEdge
- def clearNode2Policy: ChannelEdge
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: ChannelEdge.type
- Definition Classes
- ChannelEdge → GeneratedMessage
- 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[_]
- 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
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withCapacity(__v: Long): ChannelEdge
- def withChanPoint(__v: String): ChannelEdge
- def withChannelId(__v: Long): ChannelEdge
- def withLastUpdate(__v: Int): 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