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.
Refs: https://github.com/keep-network/keep-core/issues/3797.
This PR handles archiving key material on wallet closures. Archiving the wallet data happens in two situations:
WalletClosed
event is receivedArchiving 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.