refactor: remove member guarded wallets (wallet removal, Phase 3)

The member-wallet events, MemberWalletManager, MemberWalletDerivation, the
repository and DAO, five screens with their view models, states and routes,
and the 74 strings only they read. GuardianManager stops reading member
certificates. The entities stay until Phase 5's migration.

Guardians and the subgroup wallet policy move to Phase 4: they are built
into the group's on-chain wallet and cannot leave before it and compile.

jvmTest: 1,311 run, 0 failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-11-18 15:32:04 +02:00
1 parent 1bd0761339
commit db38640e57
59 files changed
+6 -7648

No files matched your search

@@ -563,7 +563,6 @@
<string name="while_the_wallet_is_new_at_most_s_sats">While the wallet is new, a spend on mainnet can send at most %1$s sats.</string>
<!-- A subgroup's wallet policy, chosen by its parent at birth: docs/subgroup-wallet-policy.md -->
<string name="guarded_wallet">Guarded wallet</string>
<string name="the_subgroup_s_wallet_will_be_guarded">The subgroup's wallet will be guarded: this group can spend any coin in it once it has waited %1$s, and each group above it after the delay it chose.</string>
<string name="the_subgroup_s_wallet_will_not_be_guarded">The subgroup's wallet will not be guarded: only the subgroup can spend from it.</string>
<string name="the_group_above_decided_this_wallet_is_guarded">The group above this one decided this group's wallet is guarded. Each group above it can spend any coin in it that has waited as long as its own delay, without this group agreeing:</string>
@@ -610,53 +609,6 @@
</plurals>
<!-- A member's guarded wallet: docs/member-guarded-wallets.md -->
<string name="new_guarded_wallet">New guarded wallet</string>
<string name="a_group">A group</string>
<string name="choose_a_group_to_guard_it">Choose a group to guard it</string>
<string name="none_of_your_groups_guards_members_wallets_yet">None of your groups guards members' wallets yet. A group's signers can turn it on from the group's page.</string>
<string name="a_wallet_only_you_can_spend_from_guarded_by_s">A wallet only you can spend from, guarded by %1$s</string>
<string name="s_can_take_any_coin_without_asking_you">%1$s can take any coin in it that has waited %2$s, without asking you.</string>
<string name="s_and_the_group_above_it_can_take_any_coin_without_asking_you">%1$s can take any coin in it that has waited %2$s, and the group above it any coin that has waited %3$s, without asking you.</string>
<string name="s_and_the_d_groups_above_it_can_take_any_coin_without_asking_you">%1$s can take any coin in it that has waited %2$s, and each of the %3$d groups above it after the delay it chose, the shortest %4$s, without asking you.</string>
<string name="members_of_those_groups_will_see_this_wallet">Members of the groups that guard it will see its balance, and that it's yours.</string>
<string name="if_you_lose_this_device_those_groups_can_still_move_your_coins">If you lose this device, those groups can still move your coins for you.</string>
<string name="label_optional">Label (optional)</string>
<string name="ask_s">Ask %1$s</string>
<string name="asked_s_to_guard_a_wallet">Asked %1$s to guard a wallet.</string>
<string name="couldn_t_ask_the_group_to_guard_a_wallet">Couldn't ask the group to guard a wallet.</string>
<string name="this_profile_cannot_sign_a_request">This profile can only look, so it can't sign a request.</string>
<string name="only_a_group_can_guard_a_wallet">Only a group with a shared key can guard a wallet.</string>
<string name="this_device_does_not_know_what_this_group_signs_with">This device doesn't know what this group signs with yet, so it can't work out the group's leaves.</string>
<string name="ask_the_group_for_its_key">Ask the group for its key</string>
<string name="asked_for_the_group_s_key">Asked. A member who holds the group's key will answer when their device next reads the room.</string>
<string name="this_group_s_guardian_keys_can_t_be_read_to_guard_a_wallet">This group's guardian keys can't be read by this version of the app.</string>
<string name="member_wallets_are_not_offered_on_this_network">Guarded wallets for members aren't offered on this network yet.</string>
<string name="s_would_refuse_this_request_asked_before">%1$s would refuse this request: it was asked before the group said it guards members' wallets. Asking again makes a new one.</string>
<string name="s_has_changed_its_delay_since_you_asked">%1$s has changed its delay since you asked. Asking again makes a new request at the new delay.</string>
<string name="s_has_stopped_guarding_members_wallets_discard">%1$s has stopped guarding members' wallets, so this request won't be signed. You can discard it.</string>
<string name="s_would_refuse_this_request">%1$s would refuse this request. Asking again makes a new one.</string>
<string name="guards_members_wallets">Guards members' wallets</string>
<string name="doesn_t_guard_members_wallets">Doesn't guard members' wallets</string>
<string name="stopped_guarding_new_members_wallets">Stopped guarding new members' wallets</string>
<string name="after_s">After %1$s</string>
<string name="how_long_before_this_group_can_take_a_member_s_coin">How long before this group can take a coin from a member's wallet</string>
<string name="a_coin_the_member_moves_starts_waiting_again">A coin the member moves starts waiting again, so a long delay lets them keep their coins out of reach by moving them.</string>
<string name="wallets_already_guarded_keep_their_delay">Wallets already guarded keep the delay they were guarded at.</string>
<string name="members_on_older_apps_can_only_be_guarded_at_12">Members whose app is older than this one can only be guarded at 12 blocks, and don't know this group can close.</string>
<string name="ask_the_group">Ask the group</string>
<string name="stop_guarding_new_wallets">Stop guarding new wallets</string>
<string name="stop_guarding_new_members_wallets_question">Stop guarding new members' wallets?</string>
<string name="wallets_already_guarded_stay_guarded">Wallets already guarded stay guarded, and this group can still take their coins after their delay.</string>
<string name="stop">Stop</string>
<string name="couldn_t_ask_the_group">Couldn't ask the group.</string>
<string name="this_group_doesn_t_guard_members_wallets">This group doesn't guard members' wallets.</string>
<string name="this_group_has_stopped_guarding_members_wallets">This group has stopped guarding members' wallets.</string>
<string name="you_have_no_guarded_wallets">You have no guarded wallets.</string>
<string name="waiting_for_someone_in_s_to_put_it_to_the_group">Waiting for someone in %1$s to put it to the group</string>
<string name="s_is_signing">%1$s is signing</string>
<string name="s_did_not_sign">%1$s didn't sign. Ask again, or discard it.</string>
<string name="key_on_another_device">Key on another device</string>
<string name="you_re_no_longer_in_s">You're no longer in %1$s. It still guards this wallet.</string>
<string name="guarded_by_s">Guarded by %1$s</string>
<string name="guarded_by_s_below_s">Guarded by %1$s, below %2$s</string>
<string name="this_group">this group</string>
@@ -676,36 +628,10 @@
<string name="spend_from_s_s_guarded_wallet_s">Spend from %1$s's guarded wallet “%2$s”</string>
<string name="fund_s_s_wallet_guarded_by_s">Fund %1$s's wallet guarded by %2$s</string>
<string name="spend_from_s_s_wallet_guarded_by_s">Spend from %1$s's wallet guarded by %2$s</string>
<string name="discard">Discard</string>
<string name="discard_this_wallet_question">Discard this wallet?</string>
<string name="discarding_forgets_its_key">Its key is forgotten. No address of it was ever offered, so nothing can have been paid to it.</string>
<string name="export_key">Export key</string>
<string name="export_this_wallet_s_key_question">Export this wallet's key?</string>
<string name="whoever_holds_these_descriptors_holds_the_coins">Whoever holds these descriptors can spend every coin in this wallet. Keep them where only you can reach them.</string>
<string name="show_key">Show key</string>
<string name="receive_descriptor">Receive descriptor</string>
<string name="change_descriptor">Change descriptor</string>
<string name="copied">Copied.</string>
<string name="copy">Copy</string>
<string name="finding_your_coins">Finding your coins…</string>
<string name="s_took_s_sats_in_s">%1$s took %2$s sats through its guardian leaf, in %3$s.</string>
<string name="taken_by_guardians">Taken by guardians</string>
<string name="the_key_of_this_wallet_is_on_another_device">This wallet's key is on another of your devices, so it can be watched here but not spent from.</string>
<string name="couldn_t_ask_again">Couldn't ask again.</string>
<string name="couldn_t_discard_the_wallet">Couldn't discard the wallet.</string>
<string name="s_sats_come_back_to_this_wallet_as_change">%1$s sats come back to this wallet as change.</string>
<string name="this_wallet_has_nothing_confirmed_to_spend">This wallet has nothing confirmed to spend.</string>
<string name="this_wallet_doesn_t_have_that_much_confirmed">This wallet doesn't have that much confirmed.</string>
<string name="send_from_your_guarded_wallet">Send from your guarded wallet</string>
<string name="signed_by_you_alone_and_sent_at_once">You sign this alone, and it is sent as soon as you press the button.</string>
<string name="sending_from_this_wallet_needs_its_key_and_a_node">Sending needs this wallet's key on this device, a group's certificate for it, and a wallet of this profile's own to watch the chain with.</string>
<string name="sign_and_send">Sign and send</string>
<string name="sent">Sent.</string>
<string name="couldn_t_send">Couldn't send.</string>
<string name="your_spends">Your spends</string>
<string name="sent_waiting_for_the_network">Sent, waiting for the network to report it</string>
<string name="in_the_mempool">In the mempool</string>
<string name="at_s">@%1$s</string>
<string name="members_guarded_wallets">Members' guarded wallets</string>
<string name="this_device_shares_these_on_its_own_when_it_can">This device tells the groups above about these on its own when it can. Share now if a group above hasn't heard.</string>
</resources>