case class PeerFinder(peerManagerApi: PeerManagerApi, paramPeers: Vector[Peer], queue: SourceQueue[NodeStreamMessage])(implicit ec: ExecutionContext, system: ActorSystem, nodeAppConfig: NodeAppConfig, chainAppConfig: ChainAppConfig) extends StartStopAsync[PeerFinder] with P2PLogger with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PeerFinder
- Serializable
- Product
- Equals
- P2PLogger
- BitcoinSLogger
- StartStopAsync
- StartStop
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new PeerFinder(peerManagerApi: PeerManagerApi, paramPeers: Vector[Peer], queue: SourceQueue[NodeStreamMessage])(implicit ec: ExecutionContext, system: ActorSystem, nodeAppConfig: NodeAppConfig, chainAppConfig: ChainAppConfig)
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 addToTry(peers: Vector[PeerData], priority: Int = 0): Unit
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def buildPeerData(p: Peer, isPersistent: Boolean): PeerData
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def connect(peer: Peer): Future[Unit]
- val controlMessageHandler: ControlMessageHandler
- 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 getPeerData(peer: Peer): Option[PeerData]
- def hasPeer(peer: Peer): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: Logger
- Definition Classes
- BitcoinSLogger
- 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()
- def onVersionMessage(peer: Peer, versionMsg: VersionMessage): Unit
- val paramPeers: Vector[Peer]
- val peerManagerApi: PeerManagerApi
- def popFromCache(peer: Peer): Option[PeerData]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def queryForPeerConnections(excludePeers: Set[Peer]): Option[Unit]
Attempts to connect to various peers on the p2p network.
Attempts to connect to various peers on the p2p network. Try to get more peers for our node.
- val queue: SourceQueue[NodeStreamMessage]
- def reconnect(peer: Peer): Future[Unit]
- def removePeer(peer: Peer): Future[Option[PeerData]]
- def setServiceIdentifier(peer: Peer, serviceIdentifier: ServiceIdentifier): Unit
- def start(): Future[PeerFinder]
- Definition Classes
- PeerFinder → StartStop
- def stop(): Future[PeerFinder]
- Definition Classes
- PeerFinder → StartStop
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- PeerFinder → AnyRef → Any
- 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()