Skip to content

Ledger integrity

Every line of the append-only ledger is a well-formed event; the one durable record nothing else can reconstruct stays readable.

blockingA violation stops the command with exit 10.

The chain

A rule is enforced only when every link below holds. majordomus doctor resolves each one from the source on every run; this page shows what it resolved.

  1. 1 Declared majordomus.ledger-integrity
  2. 2 Validator mj_validate_ledger
  3. 3 Runs under check, doctor, watch
  4. 4 On violation exit 10
  5. 5 Proved by test/cases/22_history.sh
  6. 6 Run by CI .github/workflows/validate.yml

Where it runs

What it lets us promise

Read it here

read one rule
majordomus doctrine show majordomus.ledger-integrity
majordomus check --rule majordomus.ledger-integrity