final case class Peer(pubKey: String = "", address: String = "", bytesSent: UInt64 = lnrpc.Peer._typemapper_bytesSent.toCustom(0L), bytesRecv: UInt64 = lnrpc.Peer._typemapper_bytesRecv.toCustom(0L), satSent: Long = 0L, satRecv: Long = 0L, inbound: Boolean = false, pingTime: Long = 0L, syncType: SyncType = lnrpc.Peer.SyncType.UNKNOWN_SYNC, features: Map[UInt32, Feature] = _root_.scala.collection.immutable.Map.empty, errors: Seq[TimestampedError] = _root_.scala.Seq.empty, flapCount: Int = 0, lastFlapNs: Long = 0L, lastPingPayload: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[Peer] with Product with Serializable
- pubKey
 The identity pubkey of the peer
- address
 Network address of the peer; eg
127.0.0.1:10011- bytesSent
 Bytes of data transmitted to this peer
- bytesRecv
 Bytes of data transmitted from this peer
- satSent
 Satoshis sent to this peer
- satRecv
 Satoshis received from this peer
- inbound
 A channel is inbound if the counterparty initiated the channel
- pingTime
 Ping time to this peer
- syncType
 The type of sync we are currently performing with this peer.
- features
 Features advertised by the remote peer in their init message.
- errors
 The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
- flapCount
 The number of times we have recorded this peer going offline or coming online, recorded across restarts. Note that this value is decreased over time if the peer has not recently flapped, so that we can forgive peers with historically high flap counts.
- lastFlapNs
 The timestamp of the last flap we observed for this peer. If this value is zero, we have not observed any flaps for this peer.
- lastPingPayload
 The last ping payload the peer has sent to us.
- Annotations
 - @SerialVersionUID()
 
- Alphabetic
 - By Inheritance
 
- Peer
 - Updatable
 - GeneratedMessage
 - Serializable
 - Product
 - Equals
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - Protected
 
Instance Constructors
-    new Peer(pubKey: String = "", address: String = "", bytesSent: UInt64 = lnrpc.Peer._typemapper_bytesSent.toCustom(0L), bytesRecv: UInt64 = lnrpc.Peer._typemapper_bytesRecv.toCustom(0L), satSent: Long = 0L, satRecv: Long = 0L, inbound: Boolean = false, pingTime: Long = 0L, syncType: SyncType = lnrpc.Peer.SyncType.UNKNOWN_SYNC, features: Map[UInt32, Feature] = _root_.scala.collection.immutable.Map.empty, errors: Seq[TimestampedError] = _root_.scala.Seq.empty, flapCount: Int = 0, lastFlapNs: Long = 0L, lastPingPayload: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- pubKey
 The identity pubkey of the peer
- address
 Network address of the peer; eg
127.0.0.1:10011- bytesSent
 Bytes of data transmitted to this peer
- bytesRecv
 Bytes of data transmitted from this peer
- satSent
 Satoshis sent to this peer
- satRecv
 Satoshis received from this peer
- inbound
 A channel is inbound if the counterparty initiated the channel
- pingTime
 Ping time to this peer
- syncType
 The type of sync we are currently performing with this peer.
- features
 Features advertised by the remote peer in their init message.
- errors
 The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
- flapCount
 The number of times we have recorded this peer going offline or coming online, recorded across restarts. Note that this value is decreased over time if the peer has not recently flapped, so that we can forgive peers with historically high flap counts.
- lastFlapNs
 The timestamp of the last flap we observed for this peer. If this value is zero, we have not observed any flaps for this peer.
- lastPingPayload
 The last ping payload the peer has sent to us.
 
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 addAllErrors(__vs: Iterable[TimestampedError]): Peer
 -  def addAllFeatures(__vs: Iterable[(UInt32, Feature)]): Peer
 -  def addErrors(__vs: TimestampedError*): Peer
 -  def addFeatures(__vs: (UInt32, Feature)*): Peer
 -  val address: String
 -   final  def asInstanceOf[T0]: T0
- Definition Classes
 - Any
 
 -  val bytesRecv: UInt64
 -  val bytesSent: UInt64
 -  def clearErrors: Peer
 -  def clearFeatures: Peer
 -    def clone(): AnyRef
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @native()
 
 -    def companion: Peer.type
- Definition Classes
 - Peer → GeneratedMessage
 
 -  def discardUnknownFields: Peer
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -  val errors: Seq[TimestampedError]
 -  val features: Map[UInt32, Feature]
 -    def finalize(): Unit
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.Throwable])
 
 -  val flapCount: Int
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 -    def getField(__field: FieldDescriptor): PValue
- Definition Classes
 - Peer → GeneratedMessage
 
 -    def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
 - Peer → GeneratedMessage
 
 -  val inbound: Boolean
 -   final  def isInstanceOf[T0]: Boolean
- Definition Classes
 - Any
 
 -  val lastFlapNs: Long
 -  val lastPingPayload: ByteString
 -   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()
 
 -  val pingTime: Long
 -    def productElementNames: Iterator[String]
- Definition Classes
 - Product
 
 -  val pubKey: String
 -  val satRecv: Long
 -  val satSent: Long
 -    def serializedSize: Int
- Definition Classes
 - Peer → GeneratedMessage
 
 -  val syncType: SyncType
 -   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
 - Peer → GeneratedMessage
 
 -  val unknownFields: UnknownFieldSet
 -    def update(ms: (Lens[Peer, Peer]) => Mutation[Peer]*): Peer
- 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 withAddress(__v: String): Peer
 -  def withBytesRecv(__v: UInt64): Peer
 -  def withBytesSent(__v: UInt64): Peer
 -  def withErrors(__v: Seq[TimestampedError]): Peer
 -  def withFeatures(__v: Map[UInt32, Feature]): Peer
 -  def withFlapCount(__v: Int): Peer
 -  def withInbound(__v: Boolean): Peer
 -  def withLastFlapNs(__v: Long): Peer
 -  def withLastPingPayload(__v: ByteString): Peer
 -  def withPingTime(__v: Long): Peer
 -  def withPubKey(__v: String): Peer
 -  def withSatRecv(__v: Long): Peer
 -  def withSatSent(__v: Long): Peer
 -  def withSyncType(__v: SyncType): Peer
 -  def withUnknownFields(__v: UnknownFieldSet): Peer
 -   final  def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
 - GeneratedMessage
 
 -    def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
 - Peer → GeneratedMessage
 
 -   final  def writeTo(output: OutputStream): Unit
- Definition Classes
 - GeneratedMessage