Skip to content
Menu

Technology · Evidence store

Alter one record, break the chain.
Every seal after it fails.

Each block carries the seal of the one before, so a change cannot be hidden.

ContinueSchematic. Seals are SHA-256 over illustrative sample records, computed for this drawing.

Working demonstrator

A changed record breaks its own seal and every seal after it.

Edit any sample record. The browser recomputes each seal with SHA-256, and the chain turns from that block onward. Then record the change properly, as a correction.

Sample chain Illustrative

seal = SHA-256( seal of the block before | event id | record )FIPS 180-4Secure Hash Standard: specifies the SHA-256 algorithm used to compute the digest of each record.Source: National Institute of Standards and Technology, Federal Information Processing Standards Publication 180-4, 2015. Open the publication ↗

  1. Block 1prev000000000000seal2010cb1f8337intact
  2. Block 2prev2010cb1f8337sealbdae5d4d0e2aintact
  3. Block 3prevbdae5d4d0e2asealfce5ac80f682intact
  4. Block 4prevfce5ac80f682seal613c3f15f7ceintact
  5. Block 5prev613c3f15f7ceseal2c0bb77bc799intact
  6. Block 6prev2c0bb77bc799sealc06bfafefccfintact
Chain verifies

Every seal matches the baseline compared each day with the recovery-site copy. Edit any record above and watch the chain from that block onward.

Click or tab into a record to read its full seal.

One identifier

One event identifier joins every record and decides nothing.

Cargo, call, declaration, certificate, invoice, payment and every later correction hang from a single key.

event identifiermeter readingraw quantityqualitytime stampcargo or callcounterpartydeclarationcertificateinvoicepaymentREVISION Bcorrection, a new signed event
Schematic. The identifier is a join key, never a verdict: it links records and decides nothing.
See the same event

One join key

Ten records, one identifier, no verdict.

A meter reading, a raw quantity, its quality and time stamp, the cargo or call, the counterparty, the declaration, the certificate, the invoice and the payment are all linked by one event identifier. The identifier joins; the engines compare.

Corrections are events

The old record stays and a new signed event explains it.

A correction carries its reason, its author and a second approver from another team. The certificate is re-issued under the same number with a revision mark, so a reader sees both the original and what changed.

Two stores

Raw records are written once and events are appended, so nothing is overwritten.

The ledger is two stores with a recovery copy. Each step below adds a property that no later step can remove.

Primary siteRecovery sitewrite-once raw storesource timereceipt timedigestappend-only event storerevisionsrevision Akeptrevision Bnew rule versioncopy of rawcopy of eventscopy of revisionsdaily comparison: sites match

Receive

Raw records are written once.

Each raw record is stored with its source time stamp, its receipt time stamp and a cryptographic digest. Nothing in the raw store can be opened for writing again.

Append

Events are appended and chained.

An event is appended to the event store and sealed against the one before it. The chain is checked for integrity on a schedule, not only when someone asks.

Reprocess

A new rule makes a new revision.

Reprocessing never overwrites. A change in a rule or algorithm creates a new dated version and a new revision beside the old one, and no algorithm may approve an adjustment.

Compare

A second site checks the first every day.

The recovery site holds a copy on an independent carrier. Each day the two are compared, and a difference is an incident, not a surprise found at audit.

Reproducible statements

Any month can be replayed in isolation, and it reproduces exactly.

A statement is the hash of its evidence manifest and the dated rule version in force. An auditor needs nothing else.

Replay a month Illustrative

Month
April
Rules
R2 (in force)
Manifest
ev-1013, ev-1014, ev-1015, ev-1016
Statement digest
58a5b9b774ec3f8e
Replayed digest
58a5b9b774ec3f8e
Replay matches

The auditor reproduces the statement exactly from its evidence manifest and the rule version in force.

Two sites

A second in-country site holds a copy that is checked every day.

The ledger lives in two data centres on independent carriers, and moving between them is a controlled act.

Run the two sites

Primary serves, recovery watches

Two in-country data centres, on independent carriers.

The primary site takes every record. The recovery site holds a copy and is compared with it each day, so the copy is known to be good before anyone needs it.

Controlled failover

Switching sites needs two people, and leaves a record.

Failover is controlled and runs under dual control: one person cannot move the service alone. Indicative recovery targets are minutes for evidence and hours for statements. Illustrative

Primary siteRecovery sitecarrier Acarrier Bdaily comparisontwo keys
Schematic. Each disc carries the two channels of the mark; the window in the right slab is the sealed record.

Public ledger

Anyone can verify that nothing was rewritten, without seeing anything private.

The public ledger carries aggregates only, released after a delay and free of personal data. A daily sealed hash lets anyone check the series.

  1. Mon275b8e5d
  2. Tue65c99782
  3. Wed32af5ac3
  4. Thu11e7ac17
  5. Fri82554e4c
  6. Sat035b6f89
  7. Sun9e8a42c1
  8. Mon9dc0609b
  9. Tue115859c2
  10. Wed1ad1db7d
  11. Thua91ad5bb
  12. Friaff7cdb7
  13. Sat5b627103
  14. Sun9e52cbf0

Each seal covers the day's aggregate and the seal of the day before.

Search CFA Ventures

Type to search.