sealed abstract class SyncNodeState extends NodeState with NodeRunningState
State to indicate that we are syncing the blockchain
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- SyncNodeState
- NodeRunningState
- NodeState
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def peerFinder: PeerFinder
- Definition Classes
- NodeRunningState
- abstract def peerWithServicesDataMap: Map[PeerWithServices, PersistentPeerData]
- Definition Classes
- NodeRunningState
- abstract def sentQuery: Instant
The time when we sent the last query
- abstract def syncPeer: Peer
- abstract def waitingForDisconnection: Set[Peer]
- Definition Classes
- NodeRunningState
Concrete 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 equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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 hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isConnected(peer: Peer): Boolean
- Definition Classes
- NodeRunningState
- def isDisconnected(peer: Peer): Boolean
- Definition Classes
- NodeRunningState
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isQueryTimedOut(duration: FiniteDuration): Boolean
- def isSyncing: Boolean
- Definition Classes
- SyncNodeState → 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
- 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 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 replaceSyncPeer: Option[SyncNodeState]
Replaces the current sync peer with a new sync peer, returns None if there is not a new peer available
- def replaceSyncPeer(newSyncPeer: Peer): SyncNodeState
- def replaceWaitingForDisconnection(newWaitingForDisconnection: Set[Peer]): NodeRunningState
- Definition Classes
- NodeRunningState
- def services: ServiceIdentifier
Services of our syncPeer
- def syncPeerMessageSender: PeerMessageSender
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toDoneSyncing: DoneSyncing
- Definition Classes
- NodeRunningState
- def toFilterHeaderSync: FilterHeaderSync
- def toFilterSync: FilterSync
- def toString(): String
- Definition Classes
- SyncNodeState → 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()