mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
17 lines
633 B
Go
17 lines
633 B
Go
package common
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
// SyncronizerState describes the syncronization progress of the smart contracts
|
|
type SyncronizerState struct {
|
|
LastUpdate time.Time // last time this information was updated
|
|
CurrentBatchNum BatchNum // Last batch that was forged on the blockchain
|
|
CurrentBlockNum uint64 // Last block that was mined on Ethereum
|
|
CurrentToForgeL1TxsNum uint32
|
|
LastSyncedBatchNum BatchNum // last batch synchronized by the coordinator
|
|
LastSyncedBlockNum uint64 // last Ethereum block synchronized by the coordinator
|
|
LastSyncedToForgeL1TxsNum uint32
|
|
}
|