arnaucube
arnaucube/hermez-nodePublic Self-hosted repository
hermez-node/node/node.go
node/node.goRaw
 1package node
 2
 3type mode string
 4
 5// ModeCoordinator defines the mode of the HermezNode as Coordinator, which
 6// means that the node is set to forge (which also will be synchronizing with
 7// the L1 blockchain state)
 8const ModeCoordinator mode = "coordinator"
 9
10// ModeSynchronizer defines the mode of the HermezNode as Synchronizer, which
11// means that the node is set to only synchronize with the L1 blockchain state
12// and will not forge
13const ModeSynchronizer mode = "synchronizer"