Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Commit

Permalink
protected vals for SyncTracker
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Chepurnoy <[email protected]>
  • Loading branch information
kushti committed Sep 15, 2021
1 parent 3ca7dd7 commit d8c3931
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/scala/scorex/core/network/SyncTracker.scala
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ class SyncTracker(nvsRef: ActorRef,
import History._
import scorex.core.utils.TimeProvider.Time

private var schedule: Option[Cancellable] = None
protected var schedule: Option[Cancellable] = None

private val statuses = mutable.Map[ConnectedPeer, HistoryComparisonResult]()
private val lastSyncSentTime = mutable.Map[ConnectedPeer, Time]()
protected val statuses = mutable.Map[ConnectedPeer, HistoryComparisonResult]()
protected val lastSyncSentTime = mutable.Map[ConnectedPeer, Time]()

private var lastSyncInfoSentTime: Time = 0L
protected var lastSyncInfoSentTime: Time = 0L

private var stableSyncRegime = false
protected var stableSyncRegime = false

def scheduleSendSyncInfo(): Unit = {
schedule foreach {
Expand Down

0 comments on commit d8c3931

Please sign in to comment.