hermez-node/common/syncstatus.go
common/syncstatus.goRaw
1package common
2
3import ethCommon "github.com/ethereum/go-ethereum/common"
4
5// SyncStatus is returned by the Status method of the Synchronizer
6type SyncStatus struct {
7 CurrentBlock int64
8 CurrentBatch BatchNum
9 CurrentForgerAddr ethCommon.Address
10 NextForgerAddr ethCommon.Address
11 Synchronized bool
12}