Knowledge Base

Browse the concepts behind Truestamp. Follow the links between concepts, or search across everything.

Witness

A record that already existed when an item was submitted and that its item hash commits to - the head block plus each source's newest captured entropy; the entropy witnesses open the submitted-after edge of the submission window, and the head block only fixes the item's place in the ledger.

Overview

A witness is a record that already existed at the moment you submitted, and that your submission’s composite fingerprint commits to: the block at the head of Truestamp’s ledger, plus the newest entropy captured from each public source. Each witness is named and stored as a hash in the item’s witness_hashes, a member of the item’s record, so the item hash over that record binds every witness: which witnesses an item names is fixed at submission and can never be chosen or revised afterwards. The entropy witnesses are what open the submitted-after edge of the submission window, because a public record that already existed cannot have been produced later; the head block only fixes the item’s place in the ledger and gives no edge. Their mirror image is the item’s block’s commitment into an epoch whose hash is recorded on a public blockchain after submission, which closes the submitted-before edge. Every item proof bundle carries the full record of each witness, so that a verifier can rehash it and confirm the match without contacting Truestamp.

The witness registry

Witness names are a long-lived contract: a name is never renamed and never removed, and a new kind of witness claims a new name.

Name What it records What a confirmed witness establishes
block the hash of the internal block at the head of Truestamp’s chain when you submitted that block already existed, and it fixes where in the chain your submission sits; it gives no edge, since no public source holds its time
entropy_stellar the entropy hash of the newest captured Stellar ledger entropy observation submitted after that ledger’s close time
entropy_nist the entropy hash of the newest captured NIST Randomness Beacon observation submitted after that pulse’s publication time
entropy_bitcoin the entropy hash of the newest captured Bitcoin block observation submitted after that block’s median time past, as read from a Bitcoin source
entropy_drand the entropy hash of the newest captured drand round observation submitted after that round’s scheduled time, once its signature checks against the chain’s pinned public key, with no read

The block witness is always present. Each entropy witness rides along only when that source had captured at least one observation by the time you submitted; a source with nothing captured simply contributes no name, and never a null. Naming fewer witnesses only makes the submitted-after claim more conservative, so entropy never blocks a submission.

A proof’s signing_key_event, the block whose key event introduced the key that signed the proof, with that block’s commitments, is not a witness. It is provenance only: a verifier checks it, but it never binds the key, which the keyring alone does, and its commitments never give an edge. See Ed25519 signatures for how it is checked.

Confirming a witness

A verifier confirms a witness in two independent stages.

  1. Rehash the carried detail. The bundle carries the witness’s own bytes: the head block’s node, its block_hash beside its record, for block, and for each entropy witness the entropy object: its source, its captured payload and, for Stellar and Bitcoin, its network. Recomputing the hash from those bytes and comparing it to the entry in the item’s witness_hashes proves the bundle names the record it claims to name. This stage needs no network access.
  2. Look an entropy record up at its public source. Fetching the Stellar ledger, the NIST pulse, or the Bitcoin block from its own public source, and comparing the published fields, proves the record is real and pins the published time the edge rests on. This stage needs network access and is skipped when a verifier is offline.

Both stages are recorded in the verification report; see verify a proof.

Extensibility

A verifier hashes the item record exactly as it finds it, witness_hashes included. The set of names witness_hashes may hold is closed: block and the three entropy names, each a 64-character hex hash, and a proof whose witness_hashes holds any other name fails the verifier’s shape check. A new kind of witness therefore needs a new name in the specification and the verifiers that follow it, and a name is never reused for a different meaning.

Limitations

  • A witness establishes only that its record already existed. It says nothing about when the submitted data was created or who wrote it; see what Truestamp does not prove.
  • An item proof carries the record of every witness the item’s witness_hashes names, so a proof is not generated while one of those records cannot be read; generating it again later is what succeeds.
  • An entropy source that freezes and republishes an old value still confirms as existing. Existence is confirmable; freshness is not. See entropy verification levels.