Skip to main content

Module archive

Module archive 

Source
Expand description

Archive verification: seals, chain, signatures.

Takes the segments directory and checks everything that can be checked without us:

  • every segment matches its seal (content hash);
  • the seals form a chain and the coverage spans are contiguous;
  • every validation parses, its signature matches its key, and the ledger index inside it matches the one it was recorded under.

The result is JSON on stdout: how much of what was checked and what failed. The exit code is non-zero if anything at all did not match.

Structs§

ArchiveArgs
Tally 🔒

Functions§

run
seals