Skip to main content

Module backup

Module backup 

Source

Structs§

BackupSnapshotRecord
RecoveryRecord
RecoveryShard
RestoreRecord

Functions§

create_backup_snapshot
Creates a tier-aware Merkle-DAG backup snapshot and registers mcard:backup/snapshot/{snapshot_id}.
generate_recovery_shards
Generates $k$-of-$n$ Shamir Social Recovery shards for an EOA DID key seed.
reassemble_recovery_key
Reassembles secret key seed from $k$-of-$n$ guardian shards.
restore_backup_snapshot
Restores account MCards from a snapshot backup file and registers mcard:backup/restore/{snapshot_id}.
verify_backup_snapshot
Verifies restore integrity and idempotency.