monero/src/wallet
j-berman e71c8bf190 wallet: background sync with just the view key
- 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.
2024-05-24 23:11:58 -07:00
..
api wallet: background sync with just the view key 2024-05-24 23:11:58 -07:00
CMakeLists.txt wallet, simplewallet: Drop support for mine-to-use RPC system 2023-04-25 10:18:20 -05:00
message_store.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
message_store.h Merge pull request #7852 2024-05-20 22:35:57 -05:00
message_transporter.cpp MMS: Ignore 2 more API errors thrown by latest PyBitmessage 2023-11-05 16:11:52 +01:00
message_transporter.h Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
node_rpc_proxy.cpp wallet2: fix rescanning tx via scan_tx 2023-06-15 02:21:29 -07:00
node_rpc_proxy.h wallet2: fix rescanning tx via scan_tx 2023-06-15 02:21:29 -07:00
ringdb.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
ringdb.h Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
wallet2.cpp wallet: background sync with just the view key 2024-05-24 23:11:58 -07:00
wallet2.h wallet: background sync with just the view key 2024-05-24 23:11:58 -07:00
wallet_args.cpp wallet, simplewallet: Drop support for mine-to-use RPC system 2023-04-25 10:18:20 -05:00
wallet_args.h wallet, simplewallet: Drop support for mine-to-use RPC system 2023-04-25 10:18:20 -05:00
wallet_errors.h wallet: background sync with just the view key 2024-05-24 23:11:58 -07:00
wallet_rpc_server.cpp wallet: background sync with just the view key 2024-05-24 23:11:58 -07:00
wallet_rpc_server.h wallet: background sync with just the view key 2024-05-24 23:11:58 -07:00
wallet_rpc_server_commands_defs.h wallet: background sync with just the view key 2024-05-24 23:11:58 -07:00
wallet_rpc_server_error_codes.h wallet: background sync with just the view key 2024-05-24 23:11:58 -07:00