You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
482 B

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