monero/src/wallet
jeff 205c80427b
wallet: store watch-only wallet correctly when change_password() is called
The Monero GUI code was calling `Monero::wallet::setPassword()` on every open/close for some reason,
and the old `store_to()` code called `store_keys()` with `watch_only=false`, even for watch-only wallets.
This caused a bug where the watch-only keys file got saved with with the JSON field `watch_only` set to 0,
and after saving a watch-only wallet once, a user could never open it back up against because `load()` errored out.
This never got brought up before this because you would have to change the file location of the watch-only
wallet to see this bug, and I guess that didn't happen often, but calling the new `store_to()` function with the
new `force_rewrite` parameter set to `true` triggers key restoring and the bug appeared.
2023-09-22 09:20:56 -05:00
..
api Merge pull request #8566 2023-06-27 11:20:25 -05:00
CMakeLists.txt Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
message_store.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
message_store.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
message_transporter.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
message_transporter.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
node_rpc_proxy.cpp Enforce restricted # pool txs served via RPC + optimize chunked reqs [release-v0.18] 2023-07-09 08:38:18 +02:00
node_rpc_proxy.h Enforce restricted # pool txs served via RPC + optimize chunked reqs [release-v0.18] 2023-07-09 08:38:18 +02:00
ringdb.cpp wallet2: speedup large tx construction: batch ringdb lookups 2022-05-13 17:43:22 +00:00
ringdb.h wallet2: speedup large tx construction: batch ringdb lookups 2022-05-13 17:43:22 +00:00
wallet2.cpp wallet: store watch-only wallet correctly when change_password() is called 2023-09-22 09:20:56 -05:00
wallet2.h Merge pull request #8941 2023-09-14 22:19:27 -05:00
wallet_args.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
wallet_args.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
wallet_errors.h wallet2: fix rescanning tx via scan_tx 2023-03-13 12:57:43 -07:00
wallet_light_rpc.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
wallet_rpc_helpers.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
wallet_rpc_payments.cpp Refactored rx-slow-hash.c 2022-12-14 07:21:00 +01:00
wallet_rpc_server_commands_defs.h wallet-rpc: restore from multisig seed 2023-08-10 10:13:07 -05:00
wallet_rpc_server_error_codes.h disable multisig by default 2022-05-17 19:52:03 +00:00
wallet_rpc_server.cpp wallet_rpc_server: chunk refresh to keep responding to RPC while refreshing 2023-08-17 15:35:00 +00:00
wallet_rpc_server.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00