Commit Graph
1106 Commits
Author SHA1 Message Date
tobtoht e00908bc49 Merge pull request #10921
edea850 general: replace auto_scope_leave_caller with scope_guard (jeffro256)

ACKs: selsta, tobtoht
2026-07-22 16:31:31 +00:00
tobtoht 9e1a88ba83 Merge pull request #10893
afcfd97 wallet: derive encrypted payment ID dummy/real status from tx.extra, not cd.dests (waris ))

ACKs: jeffro256*, selsta
2026-07-21 16:46:51 +00:00
waris ) afcfd9761f wallet: derive encrypted payment ID dummy/real status from tx.extra, not cd.dests 2026-07-21 02:21:18 +00:00
tobtoht dde6d6af51 Merge pull request #10911
a79f524 simplewallet: fix prompt formatting (jpk68)

ACKs: selsta, tobtoht
2026-07-20 08:57:27 +00:00
jeffro256 edea8505db general: replace auto_scope_leave_caller with scope_guard
And replace unused inclusions of misc_language.h
2026-07-15 19:54:58 -05:00
tobtoht 47b6179f5d Merge pull request #10881
a9b891f simplewallet: fix potential out-of-bounds read (jpk68)

ACKs: selsta, tobtoht
2026-07-15 18:17:51 +00:00
jpk68 a79f524fef simplewallet: fix prompt formatting 2026-07-13 17:27:55 -04:00
jpk68 a9b891f4db simplewallet: fix potential out-of-bounds read 2026-07-09 18:16:57 -04:00
tobtoht ee50ba98c9 Merge pull request #10830
e2e7715 simplewallet: deduplicate human-readable timespan function (jpk68)

ACKs: selsta, tobtoht
2026-07-03 11:59:19 +00:00
tobtoht 72f1faac96 Merge pull request #10814
14e1753 simplewallet: fix some more typos (jpk68)

ACKs: selsta, tobtoht
2026-06-29 11:44:14 +00:00
jpk68 14e1753774 simplewallet: fix some more typos 2026-06-22 16:16:59 -04:00
tobtoht abe4eb60ea Merge pull request #10759
615d200 simplewallet: fix some error messages (jpk68)

ACKs: selsta, jeffro256
2026-06-16 17:59:59 +00:00
jpk68andselsta 6aba459672 simplewallet: misc safety/correctness fixes 2026-06-13 00:59:12 +02:00
tobtoht 887f2486fe Merge pull request #8758
3af06e5 wallet: remove output blackballing (tobtoht)
2026-06-11 20:20:38 +00:00
jpk68andSNeedlewoods 615d20043e simplewallet: fix some error messages
Co-authored-by: SNeedlewoods <sneedlewoods_1@protonmail.com>
2026-06-10 21:50:00 +02:00
tobtoht f51223aa08 Merge pull request #10689
ef4f8b8 simplewallet: fix error message (jpk68)
2026-06-05 09:36:09 +00:00
jpk68andSNeedlewoods ed7d4637f6 simplewallet: add wallet-dir flag
Co-authored-by: SNeedlewoods <sneedlewoods_1@protonmail.com>
2026-06-03 18:53:33 +02:00
jpk68 e2e7715157 simplewallet: deduplicate human-readable timespan function 2026-05-29 21:02:42 -04:00
jpk68 ef4f8b8756 simplewallet: fix error message 2026-05-29 20:45:08 -04:00
tobtoht 3af06e53d3 wallet: remove output blackballing 2026-05-11 19:50:01 +02:00
tobtoht 22d35df8e0 Merge pull request #10460
6a07af9 simplewallet: warn when mining thread count exceeds CPU cores (Rudolf Schmidt)
2026-04-30 21:53:43 +00:00
tobtoht 172b4e1883 fix: warning: variable set but not used 2026-04-28 16:24:41 +02:00
Rudolf Schmidt 6a07af9e09 simplewallet: warn when mining thread count exceeds CPU cores
closes #10448
2026-04-26 19:16:58 +02:00
tobtoht 1e3aaa4647 Merge pull request #10189
1bcca58 simplewallet: use passed decrypted payment ID from wallet2 for notifications (jeffro256)
2026-03-08 10:28:23 +00:00
WHR 24ef33768c simplewallet: report file writing failure for export_transfers command 2025-12-03 12:26:12 +08:00
Catandplowsof b7b9bce9f7 simplewallet: edit desc. text for transfer 2025-11-26 20:04:40 +00:00
jeffro256 1bcca58d82 simplewallet: use passed decrypted payment ID from wallet2 for notifications
Adds payment ID paramater to `on_money_received()` wallet callback.
2025-11-06 00:53:06 -06:00
nahuhh 9308fd7113 simplewallet: batch address creation limit to match rpc 2025-09-22 13:54:15 +00:00
tobtoht 8259df0d1d Merge pull request #9860
dbc8402 wallet: fix wallet_keys_unlocker (jeffro256)
2025-09-08 18:08:22 +00:00
jeffro256 dbc8402da6 wallet: fix wallet_keys_unlocker
Fix four issues with wallet_keys_unlocker:
1. It won't decrypt if there are unlockers open simulataneously on multiple `wallet2` instances
2. It won't decrypt if the first unlocker was disabled (i.e. `locked=false`), even with a second non-disabled unlocker
3. If a destructor of an earlier unlocker is triggered before the destructor of a later unlocker, it will re-encrypt too early, while the second unlocker is still in scope
4. Calling the 3-parameter constructor with `locked=true` after an unlocker already exists will "double-encrypt"  the spend key after its destructor since the local variable is `locked=false` and the field member is `locked=true`

Also, replace `wallet2::decrypt_account_for_multisig` with `wallet_keys_unlocker`.
2025-09-04 15:43:38 -05:00
tobtoht c9db24a010 Merge pull request #10017
d527fd5 simplewallet: fix payment id header in show_transfers command (ComputeryPony)
2025-08-21 16:21:08 +00:00
ComputeryPony d527fd5834 simplewallet: fix payment id header in show_transfers command 2025-07-30 18:13:53 +09:00
jeffro256andj-berman dc350f35a5 wallet: deprecate wallet2::find_and_save_rings()
Rings for outgoing transactions are stored within the scanning code since the last hardfork,
so this code is largely unneccessary now.

Co-authored-by: j-berman <justinberman@protonmail.com>
2025-07-29 12:28:39 -05:00
SNeedlewoods ffd228b114 set do_not_relay always false in submit_multisig_main 2025-07-14 17:37:01 +02:00
SNeedlewoods 861437c543 add do_not_relay option to submit_multisig_main command in simplewallet 2025-07-11 17:34:35 +02:00
tobtoht 08438b60c1 Merge pull request #9838
2f2a8c4 wallet: Improve Fee Priority Code for Clarity (tzadiko)
2025-07-10 12:45:39 +00:00
tobtoht 6f2efeca1e Merge pull request #9940
e9c89dc wallet: kill support for deprecated ephemeral Boost messages (jeffro256)
2025-07-10 12:29:13 +00:00
tzadiko 2f2a8c46bb wallet: Improve Fee Priority Code for Clarity 2025-07-09 20:08:42 -05:00
hinto.janai 71182c6423 simplewallet: respect do-not-relay in sweep_single 2025-07-08 13:06:42 +00:00
Rudolf Schmidt b8af7e8406 fix issue 9943: cli using wrong filename for storing keys 2025-06-07 15:31:25 +02:00
jeffro256 e9c89dc6ab wallet: kill support for deprecated ephemeral Boost messages
The commit kills support for deprecated ephemeral Boost messages: signed/unsigned transaction sets, pending transactions, reserve proofs, MMS messages, etc.
It does NOT kill support for loading very old wallets in Boost format, that should be supported indefinitely. These messages were deprecated 5 years ago. Since
then, we have had a hard fork to enable a new non-compatible transaction type (w/ view tags), and disable the old transaction type. This renders basically all
of the aforementioned messages before that HF useless, with the possible exception of reserve proofs.

This commit also cleans up dead inclusions of boost serialization headers.

This commit is part of upstreaming Carrot/FCMP++. Killing support for Boost messages now means less boilerplate Boost serialization review for Carrot/FCMP++.
2025-05-30 14:24:56 -05:00
0xFFFC0000 e126b4b6d1 simplewallet: add header to show_transfers command 2024-11-24 20:39:26 +00:00
jeffro256 ed955bf751 build: fix build with Boost 1.85 and remove instances of viewkey logging
1. Use `std::is_standard_layout` and `std::is_trivially_copyable` instead of `std::is_pod` for KV byte-wise serialization, which fixes compile issue for Boost UUIDs
2. Use `std::has_unique_object_representations` instead of `alignof(T) == 1` for epee byte spans and epee hex functions
3. Removed reimplementation of `std::hash` for `boost::uuids::uuid
4. Removed `<<` operator overload for `crypto::secret_key`
5. Removed instances in code where private view key was dumped to the log in plaintext
2024-09-06 11:46:22 -05:00
luigi1111 040bccc22f Merge pull request #9338
4a376d6 copyright: fix vector.h typo (hinto.janaiyo)
d61e8e9 workflows: delete copyright.yml (plowsof)
341771a copyright: bump to 2024 (copyCat)
2024-07-16 18:42:49 -04:00
luigi1111 f145cb37a4 Merge pull request #9278
18fbe54 add sum of amounts for unspent_outputs (SNeedlewoods)
2024-07-16 18:31:59 -04:00
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
copyCat 341771ac3e copyright: bump to 2024 2024-05-21 16:29:33 +00:00
luigi1111 a3c67ab5ad Merge pull request #9307
f9d9dd8 simplewallet: change boost::filesystem::complete to absolute. (0xFFFC0000)
2024-05-20 23:39:58 -05:00
luigi1111 cdd7fc09b4 Merge pull request #9151
ff49444 @tobtoht: undo rebase changes tx.dsts -> tx_dsts (jeffro256)
38f354e Enforce Tx unlock_time is Zero by Relay Rule (jeffro256)
2024-05-20 23:11:09 -05:00
luigi1111 3a47cdad13 Merge pull request #7852
8d94d08 replace 'multisig()' with 'get_multisig_status()' using multisig_account_status and including '.kex_is_done' member (koe)
2024-05-20 22:35:57 -05:00