mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Add initial structure Coordinator Forge Sequence
This commit is contained in:
13
node/node.go
Normal file
13
node/node.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package node
|
||||
|
||||
type mode string
|
||||
|
||||
// ModeCoordinator defines the mode of the HermezNode as Coordinator, which
|
||||
// means that the node is set to forge (which also will be synchronizing with
|
||||
// the L1 blockchain state)
|
||||
const ModeCoordinator mode = "coordinator"
|
||||
|
||||
// ModeSynchronizer defines the mode of the HermezNode as Synchronizer, which
|
||||
// means that the node is set to only synchronize with the L1 blockchain state
|
||||
// and will not forge
|
||||
const ModeSynchronizer mode = "synchronizer"
|
||||
Reference in New Issue
Block a user