Skip to content

refactor(client): remove client-side backup functionality#3

Draft
joschisan wants to merge 2 commits intowallet_recoveryfrom
remove_client_backup
Draft

refactor(client): remove client-side backup functionality#3
joschisan wants to merge 2 commits intowallet_recoveryfrom
remove_client_backup

Conversation

@joschisan
Copy link
Copy Markdown
Owner

Summary

  • Remove client-side backup download and upload functionality
  • Remove ModuleBackup trait infrastructure from client modules
  • Remove gateway backup endpoint and related code
  • Update tests to only test recovery (not backup)

Depends on fedimint#8113

🤖 Generated with Claude Code

recover wallet without downloading full history
@joschisan joschisan force-pushed the remove_client_backup branch 3 times, most recently from f3d4996 to 47cd623 Compare January 28, 2026 07:53
Mark all backup-related types and methods as deprecated with
TODO to remove in 0.13.0. Since both mint and wallet modules now
use slice-based recovery and no longer need backup snapshots,
the backup functionality is deprecated but kept for backwards
compatibility.

Deprecated items:
- ClientBackup, Metadata, EncryptedClientBackup types
- backup_to_federation(), create_backup(), upload_backup() methods
- download_backup_from_federation() methods
- ModuleBackup trait and associated types
- IModuleBackup, DynModuleBackup, NoModuleBackup
- EcashBackup, EcashBackupV0 types
- WalletModuleBackup types and new_v1() method
- ClientModule::Backup associated type
- ClientModule::supports_backup() and backup() methods
- Gateway backup endpoints and methods
- CLI backup command (hidden)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@joschisan joschisan force-pushed the remove_client_backup branch from 47cd623 to 47a0e6b Compare January 28, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant