Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Archive key material on wallet closure #3797

Closed
1 task done
lukasz-zimnoch opened this issue Mar 18, 2024 · 0 comments
Closed
1 task done

Archive key material on wallet closure #3797

lukasz-zimnoch opened this issue Mar 18, 2024 · 0 comments
Assignees

Comments

@lukasz-zimnoch
Copy link
Member

lukasz-zimnoch commented Mar 18, 2024

Wallet operators should listen to Bridge's WalletClosed events and perform necessary operations upon wallet closure. The most important thing is archiving the key material so the given wallet is no longer considered active by the operator's node. This is important in the context of the new RFC 12 coordination mechanism as closed wallets' operators should not waste network bandwidth for coordination messages.

Tasks

Preview Give feedback
  1. 📟 client
    tomaszslabon
lukasz-zimnoch added a commit that referenced this issue Jun 11, 2024
#Refs: #3797.
This PR handles archiving key material on wallet closures.
Archiving the wallet data happens in two situations:
- when the `WalletClosed` event is received
- on node start, if there are closed wallets in the node's wallet
registry.

Archiving wallet's key material causes the wallet data to be moved to
the `archive` directory and the wallet is removed
form the registry's cache..
Such wallets will no longer participate in the RFC-12 coordination.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants