monero/src
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
..
blockchain_db Fix use of rtxn without a mdb_txn_safe wrapper 2022-07-22 12:30:14 +01:00
blockchain_utilities blockchain-stats: print any remaining data at end of loop 2023-01-29 11:09:02 +00:00
blocks build: prepare v0.18.3.0 2023-09-10 18:30:34 +02:00
checkpoints build: prepare v0.18.3.0 2023-09-10 18:30:34 +02:00
common Merge pull request #8895 2023-07-06 21:33:25 -05:00
crypto Fixed deadlock and crash when syncing with full dataset on Windows 2023-03-29 08:44:20 +02:00
cryptonote_basic Merge pull request #8845 2023-06-27 11:38:42 -05:00
cryptonote_core build: prepare v0.18.3.0 2023-09-10 18:30:34 +02:00
cryptonote_protocol protocol: drop peers sending duplicate txes 2023-06-27 11:06:14 +00:00
daemon Handle case where a command line flag is not allowed in the config file 2023-03-06 17:41:24 -05:00
daemonizer Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
debug_utilities Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
device device: Add ledger Stax device id to device detection 2023-03-17 21:27:51 +01:00
device_trezor allow exporting outputs in chunks 2022-09-07 06:22:07 +00:00
gen_multisig add an option to force-update multisig key exchange under some circumstances 2022-09-21 12:51:19 -05:00
gen_ssl_cert Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
hardforks hardforks: set mainnet and stagenet v15/16 fork height 2022-07-01 01:49:59 +02:00
lmdb CMake: Add missing headers via monero_find_all_headers macro 2022-04-06 08:12:44 +02:00
mnemonics CMake: Add missing headers via monero_find_all_headers macro 2022-04-06 08:12:44 +02:00
multisig add an option to force-update multisig key exchange under some circumstances 2022-09-21 12:51:19 -05:00
net p2p: fix exclusive node DNS resolution for certain hosts [release] 2022-11-17 18:57:04 -06:00
p2p p2p: do not log to global when re-blocking a subnet 2023-03-19 02:58:38 +01:00
platform Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
ringct verRctNonSemanticsSimpleCached: fix fragility 2023-03-17 18:46:34 -05:00
rpc Merge pull request #8891 2023-08-17 10:18:12 -05:00
serialization Add CLSAG serialization to ZMQ code 2023-06-16 19:00:12 -04:00
simplewallet wallet2, RPC: Optimize RPC calls for periodic refresh from 3 down to 1 call [release-v0.18] 2023-07-09 08:30:53 +02:00
wallet wallet: store watch-only wallet correctly when change_password() is called 2023-09-22 09:20:56 -05:00
CMakeLists.txt Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
cryptonote_config.h Merge pull request #8784 2023-03-18 18:23:14 -04:00
version.cpp.in build: prepare v0.18.3.0 2023-09-10 18:30:34 +02:00
version.h wallet, rpc: add a release field to get_version 2019-08-26 19:28:25 +00:00