goimports staged stream sync

pull/4465/head
“GheisMohammadi” 1 year ago
parent 6f3aa67b88
commit e11b6ef122
No known key found for this signature in database
GPG Key ID: 15073AED3829FE90
  1. 2
      api/service/stagedstreamsync/staged_stream_sync.go

@ -67,6 +67,7 @@ type StagedStreamSync struct {
protocol syncProtocol
isBeaconNode bool
gbm *blockDownloadManager // initialized when finished get block number
rdm *receiptDownloadManager
lastMileBlocks []*types.Block // last mile blocks to catch up with the consensus
lastMileMux sync.Mutex
inserted int
@ -75,7 +76,6 @@ type StagedStreamSync struct {
status *status //TODO: merge this with currentSyncCycle
initSync bool // if sets to true, node start long range syncing
UseMemDB bool
revertPoint *uint64 // used to run stages
prevRevertPoint *uint64 // used to get value from outside of staged sync after cycle (for example to notify RPCDaemon)
invalidBlock InvalidBlock

Loading…
Cancel
Save