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

wallet: background sync with just the view key [release] #8617

Open
wants to merge 1 commit into
base: release-v0.18
Choose a base branch
from

Conversation

j-berman
Copy link
Collaborator

@j-berman j-berman commented Oct 19, 2022

See #8619

@j-berman j-berman force-pushed the background-sync branch 2 times, most recently from 7d6cb91 to 8bf1b87 Compare October 26, 2022 23:40
@j-berman j-berman force-pushed the background-sync branch 2 times, most recently from 2fc25b8 to 772b594 Compare July 14, 2023 16:06
@j-berman j-berman changed the title wallet: background sync with just the view key [release] [WIP] wallet: background sync with just the view key [release] Sep 21, 2023
@j-berman j-berman changed the title [WIP] wallet: background sync with just the view key [release] wallet: background sync with just the view key [release] Oct 27, 2023
- When background syncing, the wallet wipes the spend key
from memory and processes all new transactions. The wallet saves
all receives, spends, and "plausible" spends of receives the
wallet does not know key images for.
- When background sync disabled, the wallet processes all
background synced txs and then clears the background sync cache.
- Adding "plausible" spends to the background sync cache ensures
that the wallet does not need to query the daemon to see if any
received outputs were spent while background sync was enabled.
This would harm privacy especially for users of 3rd party daemons.
- To enable the feature in the CLI wallet, the user can set
background-sync to reuse-wallet-password or
custom-background-password and the wallet automatically syncs in
the background when the wallet locks, then processes all
background synced txs when the wallet is unlocked.
- The custom-background-password option enables the user to
open a distinct background wallet that only has a view key saved
and can be opened/closed/synced separately from the main wallet.
When the main wallet opens, it processes the background wallet's
cache.
- To enable the feature in the RPC wallet, there is a new
`/setup_background_sync` endpoint.
- HW, multsig and view-only wallets cannot background sync.
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.

None yet

1 participant