Documentation

FMMidgard.ProofProtocol.Catalogue.Ledger.ValidityRange

Rule : Transaction Validity Range #

See Midgard Spec Section 5.1.2

Property

TxValidityRange
= ∀ f ∈ Ledger:
  time_range(block(t)) ⊆ validity_interval(t)

The spec claims that it is enough to check that:

Invalid-Range
= ∃ t ∈ txs :
  time_range(b) ⊈ validity_interval(t)

There is a technical detail missing stating that the transaction (or transactions) belong to block b.

Invalid-Range
= ∃ b ∈ ledger, t ∈ b.txs :
  time_range(b) ⊈ validity_interval(t)

Logic Consistency #

Placeholder section.

TODO: Check rule consistency.