Some checks are pending
docker-build-cometbft / vars (push) Waiting to run
docker-build-cometbft / build-images (amd64, ubuntu-24.04) (push) Blocked by required conditions
docker-build-cometbft / build-images (arm64, ubuntu-24.04-arm) (push) Blocked by required conditions
docker-build-cometbft / merge-images (push) Blocked by required conditions
docker-build-e2e-node / vars (push) Waiting to run
docker-build-e2e-node / build-images (amd64, ubuntu-24.04) (push) Blocked by required conditions
docker-build-e2e-node / build-images (arm64, ubuntu-24.04-arm) (push) Blocked by required conditions
docker-build-e2e-node / merge-images (push) Blocked by required conditions
26 lines
838 B
Text
26 lines
838 B
Text
----------------- MODULE MC5_5_faulty ---------------------
|
|
|
|
AllNodes == {"n1", "n2", "n3", "n4", "n5"}
|
|
TRUSTED_HEIGHT == 1
|
|
TARGET_HEIGHT == 5
|
|
TRUSTING_PERIOD == 1400 \* two weeks, one day is 100 time units :-)
|
|
CLOCK_DRIFT == 10 \* how much we assume the local clock is drifting
|
|
REAL_CLOCK_DRIFT == 3 \* how much the local clock is actually drifting
|
|
IS_PRIMARY_CORRECT == FALSE
|
|
FAULTY_RATIO == <<2, 3>> \* < 1 / 3 faulty validators
|
|
|
|
VARIABLES
|
|
state, nextHeight, fetchedLightBlocks, lightBlockStatus, latestVerified,
|
|
nprobes,
|
|
localClock,
|
|
refClock, blockchain, Faulty
|
|
|
|
(* the light client previous state components, used for monitoring *)
|
|
VARIABLES
|
|
prevVerified,
|
|
prevCurrent,
|
|
prevLocalClock,
|
|
prevVerdict
|
|
|
|
INSTANCE Lightclient_003_draft
|
|
============================================================================
|