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.

23 lines
688 B

  1. ------------------------- MODULE MC5_7_faulty ---------------------------
  2. AllNodes == {"n1", "n2", "n3", "n4", "n5"}
  3. TRUSTED_HEIGHT == 1
  4. TARGET_HEIGHT == 7
  5. TRUSTING_PERIOD == 1400 \* two weeks, one day is 100 time units :-)
  6. IS_PRIMARY_CORRECT == FALSE
  7. FAULTY_RATIO == <<1, 3>> \* < 1 / 3 faulty validators
  8. VARIABLES
  9. state, nextHeight, nprobes, fetchedLightBlocks, lightBlockStatus,
  10. latestVerified, nprobes,
  11. now, blockchain, Faulty
  12. (* the light client previous state components, used for monitoring *)
  13. VARIABLES
  14. prevVerified,
  15. prevCurrent,
  16. prevNow,
  17. prevVerdict
  18. INSTANCE Lightclient_003_draft
  19. ============================================================================