github.com/vipernet-xyz/tm@v0.34.24/spec/light-client/verification/MC5_5_correct.tla (about)

     1  ------------------------- MODULE MC5_5_correct ---------------------------
     2  
     3  AllNodes == {"n1", "n2", "n3", "n4", "n5"}
     4  TRUSTED_HEIGHT == 1
     5  TARGET_HEIGHT == 5
     6  TRUSTING_PERIOD == 1400     \* two weeks, one day is 100 time units :-)
     7  CLOCK_DRIFT == 10       \* how much we assume the local clock is drifting
     8  REAL_CLOCK_DRIFT == 3   \* how much the local clock is actually drifting
     9  IS_PRIMARY_CORRECT == TRUE
    10  FAULTY_RATIO == <<1, 3>>    \* < 1 / 3 faulty validators
    11  
    12  VARIABLES
    13    state, nextHeight, fetchedLightBlocks, lightBlockStatus, latestVerified,
    14    nprobes,
    15    localClock,
    16    refClock, blockchain, Faulty
    17  
    18  (* the light client previous state components, used for monitoring *)
    19  VARIABLES
    20    prevVerified,
    21    prevCurrent,
    22    prevLocalClock,
    23    prevVerdict
    24  
    25  INSTANCE Lightclient_003_draft
    26  ============================================================================