woodser
354906f17a
wallet2: keep multisig import state consistent across failed refreshes
2026-08-11 14:39:32 -04:00
tobtoht
b2588ef742
Merge pull request #10883
...
9477d0c wallet: initialize URI parse outputs (Samy)
ACKs: selsta, jpk68
2026-08-09 22:00:24 +00:00
tobtoht
664dae8223
Merge pull request #11030
...
493af98 wallet2: fix faulty bounds check (jpk68)
ACKs: selsta, jeffro256
2026-08-08 13:26:50 +00:00
tobtoht
a82b6d8a17
Merge pull request #11018
...
a646d9e wallet2: clamp export_outputs start to the number of transfers (Cole Munz)
ACKs: selsta, jpk68
2026-08-07 18:25:31 +00:00
tobtoht
1bf1dff4be
Merge pull request #11000
...
8e30662 wallet2: fix compiler warning (jpk68)
ACKs: jeffro256, selsta, tobtoht
2026-08-04 16:29:57 +00:00
jpk68
493af98614
wallet2: fix faulty bounds check
2026-08-02 13:14:24 -04:00
tobtoht
f4c1bfc134
Merge pull request #10979
...
e2a4f68 wallet2: check for overflow when calculating fee from weight (selsta)
ACKs: jpk68, tobtoht, SChernykh
2026-08-01 15:19:01 +00:00
Cole Munz
a646d9e7c3
wallet2: clamp export_outputs start to the number of transfers
...
export_outputs() says start and count are allowed to go past the valid range,
and that nothing is returned when they do. The loop honours that, but offset
does not: with all=true it takes start unchecked, so a start past the end makes
m_transfers.size() - offset underflow and reserve() gets a value near SIZE_MAX.
vector::reserve throws std::length_error on that, which is where the
"vector::reserve" error in issue #8625 comes from.
Clamping offset also keeps the returned offset usable. import_outputs throws
when offset is past the total, so leaving offset at start would only move the
failure from export to import.
2026-07-31 23:41:03 -05:00
jpk68
8e30662486
wallet2: fix compiler warning
2026-07-29 14:14:00 -04:00
tobtoht
99c1f914a2
Merge pull request #10951
...
c9d9afc wallet2: bounds check additional derivations in is_out_to_acc (selsta)
ACKs: SNeedlewoods, jeffro256
2026-07-28 15:43:34 +00:00
tobtoht
2c27cb8eb3
Merge pull request #10942
...
07b8456 wallet2: validate cached transfer indices (selsta)
ACKs: jeffro256, tobtoht
2026-07-27 17:06:40 +00:00
selsta
e2a4f68ef6
wallet2: check for overflow when calculating fee from weight
2026-07-26 22:03:09 +02:00
tobtoht
d1d32cb2b6
Merge pull request #10931
...
c1eda46 wallet2: fix error message (jpk68)
ACKs: selsta, SNeedlewoods, jeffro256
2026-07-24 16:22:04 +00:00
selsta
c9d9afc6df
wallet2: bounds check additional derivations in is_out_to_acc
2026-07-22 22:13:05 +02:00
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
selsta
07b8456ff3
wallet2: validate cached transfer indices
...
Reported by hacksandhops
2026-07-22 01:09:28 +02:00
jpk68
c1eda464e4
wallet2: fix error message
2026-07-18 15:38:24 -04: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
selsta
0b7967907f
wallet2: guard gamma picker against zero-output windows
2026-07-14 19:41:36 +02:00
Samy
9477d0c255
wallet: initialize URI parse outputs
...
Successful parses left optional outputs unchanged when the URI omitted them, which could expose stale values or an uninitialized amount
Initialize them after validating the address so outputs only describe the current URI
2026-07-10 13:06:47 +02:00
tobtoht
23372d12f5
Merge pull request #10108
...
ede4d7f RingCT crypto: 6x faster zero commit (j-berman)
ACKs: UkoeHB, jeffro256
2026-07-03 11:57:32 +00:00
tobtoht
381fce8dde
Merge pull request #10828
...
fecef76 Fix spelling typos in comments and string literals (Thomas)
ACKs: tobtoht, selsta
2026-07-02 13:18:56 +00:00
tobtoht
a2de04a09b
Merge pull request #10825
...
b1f4561 wallet2: remove unused pool tx removed callback (selsta)
ACKs: tobtoht, thomasbuilds
2026-07-01 17:40:04 +00:00
tobtoht
85d5a6f95b
Merge pull request #10646
...
d40944c wallet2: avoid linear scans in pool state updates (selsta)
ACKs: j-berman*, SChernykh
2026-06-28 14:20:30 +00:00
selsta
d40944c4df
wallet2: avoid linear scans in pool state updates
2026-06-28 13:54:10 +02:00
Thomas
fecef767c9
Fix spelling typos in comments and string literals
2026-06-27 09:53:48 +02:00
tobtoht
f79930b0db
Merge pull request #10796
...
36bb2d0 wallet2: avoid std::out_of_range on a truncated tx set blob (Thomas)
ACKs: jeffro256, selsta
2026-06-26 16:14:06 +00:00
selsta
b1f456140a
wallet2: remove unused pool tx removed callback
...
on_pool_tx_removed has no implementation beyond the empty default callback
and is not wired through the wallet API layer.
The only call site passed txid after erasing the payment entry that owned it,
leaving a dangling reference.
2026-06-26 02:53:41 +02:00
tobtoht
0a83a39883
Merge pull request #10792
...
02db831 Fix spelling typos (Thomas)
ACKs: tobtoht, jeffro256
2026-06-24 17:21:24 +00:00
tobtoht
e4a77fbb42
Merge pull request #10775
...
57f4cda wallet2: guard optimized coinbase refresh against empty vout (selsta)
ACKs: tobtoht, SChernykh
2026-06-21 11:39:04 +00:00
tobtoht
0651be79f9
Merge pull request #10772
...
7578af4 wallet2: reject non-monotonic rct output distributions (selsta)
ACKs: jeffro256, vtnerd
2026-06-21 11:38:15 +00:00
Thomas
36bb2d0e7d
wallet2: avoid std::out_of_range on a truncated tx set blob
...
parse_unsigned_tx_from_str() and parse_tx_from_str() strip the magic,
then read the version byte and call s.substr(1) without checking a
version byte follows. A blob equal to just the magic leaves an empty
remainder, so s.substr(1) throws std::out_of_range instead of the
function returning false. Require magic + a version byte first.
2026-06-20 21:13:30 +02:00
Thomas
02db831d01
Fix spelling typos
2026-06-18 09:30:42 +02:00
tobtoht
6476ec8f2c
Merge pull request #10700
...
6ad3dc0 wallet2: read multisig restore fields with memcpy in generate (alhudz)
ACKs: vtnerd, selsta
2026-06-17 18:30:00 +00:00
tobtoht
f0e7c5b1ae
Merge pull request #10753
...
74f0917 wallet2: store multisig nonce erasure before returning signed txset (selsta)
ACKs: UkoeHB, tobtoht
2026-06-16 11:06:23 +00:00
alhudz
6ad3dc08f7
wallet2: read multisig restore fields with memcpy in generate
2026-06-16 00:19:33 +05:30
selsta
7578af44fe
wallet2: reject non-monotonic rct output distributions
2026-06-15 13:41:54 +02:00
tobtoht
757679bb6a
Merge pull request #10744
...
f1ea616 fix signed unsigned comparison (SNeedlewoods)
ACKs: selsta, tobtoht
2026-06-14 15:59:40 +00:00
tobtoht
9bd2ee44cd
Merge pull request #10728
...
af10a4f read import blob crypto fields with memcpy in wallet2 (alhudz)
2026-06-11 20:26:05 +00:00
tobtoht
887f2486fe
Merge pull request #8758
...
3af06e5 wallet: remove output blackballing (tobtoht)
2026-06-11 20:20:38 +00:00
SNeedlewoods
f1ea6167b3
fix signed unsigned comparison
2026-06-10 21:03:56 +02:00
selsta
74f0917d66
wallet2: store multisig nonce erasure before returning signed txset
2026-06-09 21:41:46 +02:00
jeffro256
589dd0a973
ringct: merge decodeRct and decodeRctSimple
2026-06-05 12:37:00 -05:00
alhudz
af10a4f6d4
read import blob crypto fields with memcpy in wallet2
2026-06-05 20:59:14 +05:30
tobtoht
22f7743b1f
Merge pull request #10647
...
10b0118 add safety for future fork heights (SNeedlewoods)
2026-06-03 19:02:00 +00:00
tobtoht
ee7bff978a
Merge pull request #10632
...
b3cd06d wallet2: clear m_additional_tx_keys during bg sync (selsta)
2026-05-28 21:29:22 +00:00
SNeedlewoods
10b0118c6a
add safety for future fork heights
2026-05-27 20:23:02 +02:00
tobtoht
f4bbdee14f
Merge pull request #10084
...
b4c5449 wallet: add `wallet2_basic` library types (jeffro256)
2026-05-25 20:48:17 +00:00
selsta
57f4cda12a
wallet2: guard optimized coinbase refresh against empty vout
2026-05-22 18:29:43 +02:00
selsta
b3cd06df90
wallet2: clear m_additional_tx_keys during bg sync
2026-05-21 00:44:30 +02:00