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.

12 lines
404 B

  1. package common
  2. // Slot represents a slot of the Hermez network
  3. // WARNING: this is strongly based on the previous implementation, once the new spec is done, this may change a lot.
  4. type Slot struct {
  5. SlotNum SlotNum
  6. StartingBlock uint64 // Etherum block in which the slot starts
  7. Forger Operator // Current Operaror winner information
  8. }
  9. // SlotNum identifies a slot
  10. type SlotNum uint32