Skip to main content

Module witness

Module witness 

Source
Expand description

Witness gossip protocol for transparency log monitoring.

Third-party witnesses track tree heads (STHs) and gossip them between each other to detect split-view attacks. A malicious log that presents different views to different clients will be caught when witnesses compare notes.

§Protocol

  1. Witness fetches the latest tree head from the log
  2. Witness verifies consistency with its previous head
  3. Witness gossips the new head to peer witnesses
  4. Peer witnesses verify and store the head

Structs§

TreeHead
A signed tree head (STH) — the log’s commitment to its state at a point in time.
Witness
A witness that monitors a transparency log.

Enums§

WitnessError
Errors during witness operations.