pub fn load_all_traces(
db_path: impl AsRef<Path>,
) -> Result<Vec<Trace>, StoreError>Expand description
Load every trace from the database in insertion (chain) order — used by tests and
operators to verify the hash chain with firstpass_core::verify_chain.
§Errors
Returns StoreError::Sqlite on a database error, or StoreError::Json if a stored
row is not valid trace JSON.