case class DoneSyncing(peerWithServicesDataMap: Map[PeerWithServices, PersistentPeerData], waitingForDisconnection: Set[Peer], peerFinder: PeerFinder) extends NodeState with NodeRunningState with Product with Serializable
State to indicate we are not currently syncing with a peer
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DoneSyncing
- Serializable
- Product
- Equals
- NodeRunningState
- NodeState
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new DoneSyncing(peerWithServicesDataMap: Map[PeerWithServices, PersistentPeerData], waitingForDisconnection: Set[Peer], peerFinder: PeerFinder)
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 addPeer(peer: Peer): NodeRunningState
- Definition Classes
- NodeRunningState
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def connectedPeerCount: Int
- Definition Classes
- NodeRunningState
- 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 getPeerConnection(peer: Peer): Option[PeerConnection]
- Definition Classes
- NodeRunningState
- def getPeerData(peer: Peer): Option[PersistentPeerData]
- Definition Classes
- NodeRunningState
- def getPeerMsgSender(peer: Peer): Option[PeerMessageSender]
- Definition Classes
- NodeRunningState
- def getPeerServices(peer: Peer): Option[ServiceIdentifier]
- Definition Classes
- NodeRunningState
- def isConnected(peer: Peer): Boolean
- Definition Classes
- NodeRunningState
- def isDisconnected(peer: Peer): Boolean
- Definition Classes
- NodeRunningState
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isSyncing: Boolean
- Definition Classes
- DoneSyncing → NodeRunningState
- 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 peerDataMap: Map[Peer, PersistentPeerData]
- Definition Classes
- NodeRunningState
- val peerFinder: PeerFinder
- Definition Classes
- DoneSyncing → NodeRunningState
- val peerWithServicesDataMap: Map[PeerWithServices, PersistentPeerData]
- Definition Classes
- DoneSyncing → NodeRunningState
- def peers: Set[Peer]
All peers the node is currently connected to
All peers the node is currently connected to
- Definition Classes
- NodeRunningState
- def peersWithServices: Set[PeerWithServices]
- Definition Classes
- NodeRunningState
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def randomPeer(excludePeers: Set[Peer], services: ServiceIdentifier): Option[Peer]
- Definition Classes
- NodeRunningState
- def randomPeerMessageSender(excludePeers: Set[Peer], services: ServiceIdentifier): Option[PeerMessageSender]
- Definition Classes
- NodeRunningState
- def removePeer(peer: Peer): NodeRunningState
Removes the peer from our peerDataMap
Removes the peer from our peerDataMap
- Definition Classes
- NodeRunningState
- def replacePeers(peerWithServicesDataMap: Map[PeerWithServices, PersistentPeerData]): NodeRunningState
- Definition Classes
- NodeRunningState
- def replaceWaitingForDisconnection(newWaitingForDisconnection: Set[Peer]): NodeRunningState
- Definition Classes
- NodeRunningState
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toDoneSyncing: DoneSyncing
- Definition Classes
- NodeRunningState
- def toFilterHeaderSync(syncPeer: Peer): FilterHeaderSync
- def toFilterHeaderSync: Option[FilterHeaderSync]
- def toHeaderSync(syncPeer: Peer): HeaderSync
- def toHeaderSync: Option[HeaderSync]
Selects a random peer and returns us a header sync state returns None if we don't have a peer ot sync with
- def toString(): String
- Definition Classes
- NodeRunningState → 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()
- val waitingForDisconnection: Set[Peer]
- Definition Classes
- DoneSyncing → NodeRunningState