monero/tests/unit_tests
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
..
account.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
address_from_url.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
aligned.cpp Add <cstdint> to aligned test 2024-01-29 21:37:22 -05:00
apply_permutation.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
base58.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
block_queue.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
block_reward.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
blockchain_db.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
bootstrap_node_selector.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
bulletproofs_plus.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
bulletproofs.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
canonical_amounts.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
chacha.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
checkpoints.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
CMakeLists.txt Blockchain: remove old fee calc logic 2024-03-10 13:30:46 -05:00
command_line.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
crypto.cpp Merge pull request #8396 2024-05-20 22:45:46 -05:00
decompose_amount_into_digits.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
device.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
difficulty.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
dns_resolver.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
epee_boosted_tcp_server.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
epee_levin_protocol_handler_async.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
epee_serialization.cpp epee binary: container can read from empty seq of any type 2024-02-16 15:53:07 -06:00
epee_utils.cpp unit_tests: fix strtoul unit test 2024-03-07 09:05:09 -06:00
expect.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
get_xtype_from_string.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
hardfork.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
hashchain.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
hmac_keccak.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
http.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
is_hdd.cpp Merge pull request #4424 2018-09-29 22:19:44 +02:00
json_serialization.cpp Enforce Tx unlock_time is Zero by Relay Rule 2024-02-24 14:27:17 -06:00
json_serialization.h Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
keccak.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
levin.cpp Skip privacy networks (on tx sends) that don't have outgoing connections 2024-03-29 13:01:58 -04:00
lmdb.cpp blockchain_db: add k-anonymity to txid fetching 2023-08-01 17:25:25 -05:00
logging.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
long_term_block_weight.cpp add a test for the long term weight cache 2023-10-02 01:38:10 +01:00
main.cpp unit tests: fix running from pwd and auto test selected location 2023-10-28 03:14:05 -05:00
memwipe.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
mlocker.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
mnemonics.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
mul_div.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
multiexp.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
multisig.cpp Merge pull request #7852 2024-05-20 22:35:57 -05:00
net.cpp Disable/fix ports with I2P 2024-01-30 13:40:05 -05:00
node_server.cpp OpenBSD: node server fix IP localhost by aliasing 2023-12-10 22:08:05 +01:00
notify.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
output_distribution.cpp blockchain_and_pool: move to crytonote_core and enforce its usage 2023-07-01 07:12:53 -05:00
output_selection.cpp Merge pull request #8802 2023-04-25 11:26:20 -04:00
parse_amount.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
pruning.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
random.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
ringct.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
ringdb.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
rolling_median.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
rpc_version_str.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
scaling_2021.cpp Blockchain: remove old fee calc logic 2024-03-10 13:30:46 -05:00
serialization.cpp Merge pull request #9257 2024-05-20 23:31:17 -05:00
sha256.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
slow_memmem.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
subaddress.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
test_notifier.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
test_peerlist.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
test_protocol_pack.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
test_tx_utils.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
threadpool.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
tx_proof.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
unbound.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
unit_tests_utils.h Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
uri.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
util.cpp common: do not use DNS to determine if address is local 2023-07-03 13:34:39 +02:00
variant.cpp variant: add mutable unwrap and visitation 2023-02-12 13:00:53 -06:00
varint.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
ver_rct_non_semantics_simple_cached.cpp verRctNonSemanticsSimpleCached: fix fragility 2023-03-17 18:45:35 -05:00
vercmp.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
wallet_storage.cpp common: support boost filesystem copy_options. 2024-04-30 23:20:10 +00:00
wipeable_string.cpp wallet: background sync with just the view key 2024-05-24 23:11:58 -07:00
zmq_rpc.cpp Copyright: Update to 2023 2023-01-16 13:00:18 +01:00