# Storage, archives & historical evidence

Separate canonical history, current state and derived views, then understand what a historical query actually proves.

Canonical page: https://quantumchain.info/docs/protocol/storage

Category: Protocol · Reviewed: 24 November 2026

## One ledger, several storage responsibilities

QuantumDB is the intended storage foundation for immutable records, active objects, proof structures, snapshots and role-specific views. These are logical responsibilities; the diagram is not a claim about a deployed database schema.

Derived balance summaries and indexes help users find data. They must remain consistent with canonical state and cannot create independent spending authority. Protected data may intersect several categories and requires its own access rules.

[View the diagram or interactive example](<https://quantumchain.info/docs/protocol/storage#data-map>). Visual-only examples are not reproduced in this text export.

## Keep historical records tied to their anchors

A current-state proof does not answer every historical question. A historical response must identify the past point it refers to and the evidence linking it to accepted canonical history.

| Record | Relevant context |
| --- | --- |
| Transaction or receipt | Canonical identifier, containing block and the relevant commitment |
| Historical state | The specific finalized state root and height or epoch |
| Consensus history | Certificates and the applicable validator context |
| Snapshot | Manifest identity, scope and accepted root |
| Query summary | Source references and whether verification evidence is included |

## Choose retention to match the promised service

The archive specification distinguishes full-history, query-oriented, proof-oriented and other specialized profiles. A profile should state what it retains and which historical questions it can answer.

Canonical blocks, transaction bytes, receipts, state roots and finality evidence serve different reconstruction needs. Keeping a snapshot alone does not imply that every past state or receipt remains available.

| Storage tier example | Typical purpose |
| --- | --- |
| Hot | Recent data with frequent access |
| Warm | Indexed historical queries |
| Cold | Older retained segments |
| Proof archive | Material needed for historical verification |

> **No retention duration is selected**
> These tiers describe possible organization. They do not promise unlimited history, a pruning schedule, a storage capacity or a response-time guarantee.

## A useful query and a verified fact are different outputs

An archive can return a convenient summary, canonical records or a proof-backed response. The interface should identify which was returned and preserve its scope.

A missing search result is not proof of non-existence. Coverage, indexing lag, access restrictions or unavailable history may explain the result. Proof verification needs the appropriate accepted root and finality context.

- Identify the requested historical range and canonical objects.
- Distinguish a summary from attached verification evidence.
- State coverage and unavailable portions explicitly.
- Keep exports reproducible and tied to their source anchors.

## Repair derived views from verified records

Archive checks compare block linkage, transaction and receipt roots, retained state anchors and index-to-canonical alignment. Rebuilding a derived index should be deterministic and auditable.

Index repair does not authorize rewriting canonical balances. A restore must verify its source data and scope before a service resumes. Validator signing history requires separate recovery controls.

## Keep heavy retrieval off the validator critical path

Validators prioritize safe, timely participation. Archives and query services prioritize completeness, retrieval and indexing. Separating these workloads can prevent expensive searches and backfills from competing with consensus-critical work.

Concrete storage formats, proof retention, access controls, migration behavior and performance need implementation evidence. The public architecture does not establish a functioning archive service or a completed QuantumDB integration.

## Related reading

- [Commitments & proofs](<https://quantumchain.info/docs/protocol/commitments-and-proofs>)
- [Synchronization & snapshots](<https://quantumchain.info/docs/nodes/synchronization>)
- [Operations & incident recovery](<https://quantumchain.info/docs/nodes/operations>)
- [QuantumChain whitepaper](<https://quantumchain.info/whitepaper>)
