8088 Commits

Author SHA1 Message Date
tobtoht
61b8c09f83 Merge pull request #9698
861437c add do_not_relay option to submit_multisig_main command in simplewallet (SNeedlewoods)
2025-07-13 16:52:14 +00:00
tobtoht
a9a399dc6b Merge pull request #9985
3c05f00 crypto: check+throw for Cryptonight v1 invalid input (jeffro256)
2025-07-13 16:50:58 +00:00
jeffro256
2820757d9d common: remove tools::add_element
Since C++17, `std::vector::emplace_back()` returns a reference, so this helper isn't needed anymore.
2025-07-11 11:31:46 -05:00
jeffro256
3c05f00b85 crypto: check+throw for Cryptonight v1 invalid input
If `crypto::cn_slow_hash()` is called with `variant=1` and an input length of less thab 43 bytes, it triggers a program exit.
This checks first and throws an exception instead.

Thank you to ADA Logics and the MAGIC Monero Fund for reporting this!
2025-07-11 11:19:43 -05:00
jeffro256
6131ddef10 rpc: return error correctly on bad key image string
Because of the missing `return` statement, the status is set to "OK" later on in the method when it shouldn't be.

Thank you to ADA Logics and the MAGIC Monero Fund for reporting this!
2025-07-11 10:39:03 -05:00
SNeedlewoods
861437c543 add do_not_relay option to submit_multisig_main command in simplewallet 2025-07-11 17:34:35 +02:00
tobtoht
c540d40071 Merge pull request #9957
2bce551 Add new dynamic fees to ZMQ (Lee Clagett)
2025-07-10 17:32:49 +00:00
tobtoht
26294e80c9 Merge pull request #9947
00237fe src: update checkpoints to match v0.18.4.1 (selsta)
2025-07-10 13:46:26 +00:00
selsta
00237fe18a src: update checkpoints to match v0.18.4.1 2025-07-10 15:31:54 +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
88aa3ed21e Merge pull request #9925
4c341da BlockchainLMDB: remove `virtual` qualifers from overriden methods and mark `final` (jeffro256)
deb1ec9 BlockchainLMDB: mark overridden methods with `override` (jeffro256)
2025-07-10 12:34:05 +00:00
tobtoht
ff000b654d Merge pull request #9927
6fd3a2e tools::variant: remove (jeffro256)
2025-07-10 12:32:20 +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
tobtoht
8b95b38fa2 Merge pull request #9953
6d06de7 wallet: refactor subaddress expansion & add to transfer test (jeffro256)
6e26e44 wallet: improve lookahead logic & make rpc persistent (Justin Berman)
6f36037 wallet: create set_subaddress_lookahead wallet rpc endpoint (benevanoff)
b987676 wallet: ensure subaddress keys table is at least size of requested lookahead (benevanoff)
2025-07-10 12:20:49 +00:00
tobtoht
3d7171e684 Merge pull request #9977
71182c6 simplewallet: respect `do-not-relay` in `sweep_single` (hinto.janai)
2025-07-10 12:19:08 +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
tobtoht
4d5525a096 Merge pull request #9948
92315c0 Add is_same_host check to p2p (Lee *!* Clagett)
2025-07-08 09:28:55 +00:00
jeffro256
6d06de74b2 wallet: refactor subaddress expansion & add to transfer test 2025-07-07 22:16:11 +00:00
Justin Berman
6e26e4477e wallet: improve lookahead logic & make rpc persistent 2025-07-07 22:16:09 +00:00
benevanoff
6f36037116 wallet: create set_subaddress_lookahead wallet rpc endpoint 2025-07-07 22:15:04 +00:00
tobtoht
2657d3703c Merge pull request #9967
c704630 cmake: don't redefine project (tobtoht)
2025-07-07 19:39:54 +00:00
benevanoff
b987676d63 wallet: ensure subaddress keys table is at least size of requested lookahead 2025-06-27 21:35:16 +00:00
Oscar Mira
19fab4d38e wallet2: ignore checkpoints in fast_refresh when height < 1000 2025-06-27 00:35:56 +02:00
tobtoht
c7046302d4 cmake: don't redefine project 2025-06-24 08:01:37 +02:00
tobtoht
bc33cdfe29 Merge pull request #9935
69345db wallet2: use nearest checkpoint to allow fast_refresh on old accounts (Oscar Mira)
edc447e checkpoints: support nearest lower checkpoint lookup (Oscar Mira)
2025-06-14 18:58:52 +00:00
tobtoht
e9c33919a9 Merge pull request #9937
d0dda0b wallet:set refresh interval to default when hitting tip of chain (tzadiko)
2025-06-14 18:57:56 +00:00
Lee Clagett
2bce551da7 Add new dynamic fees to ZMQ 2025-06-13 17:10:17 -04: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
jeffro256
4c341da1e5 BlockchainLMDB: remove virtual qualifers from overriden methods and mark final
According to guideline at https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines.html#c128-virtual-functions-should-specify-exactly-one-of-virtual-override-or-final

Co-authored-by: SNeedlewoods <sneedlewoods_1@protonmail.com>
Co-authored-by: Lee *!* Clagett <code@leeclagett.com>
2025-05-30 12:11:43 -05:00
Maximilian Hubert
8a33cafcbf fix typo 2025-05-29 23:26:22 +02:00
tzadiko
d0dda0b6ee wallet:set refresh interval to default when hitting tip of chain 2025-05-27 19:19:42 -05:00
Oscar Mira
69345dbe29 wallet2: use nearest checkpoint to allow fast_refresh on old accounts 2025-05-23 19:27:19 +02:00
Oscar Mira
edc447eb75 checkpoints: support nearest lower checkpoint lookup 2025-05-23 19:27:10 +02:00
Lee *!* Clagett
92315c0357 Add is_same_host check to p2p 2025-05-19 18:30:18 -04:00
jeffro256
6fd3a2e06b tools::variant: remove 2025-05-15 13:48:36 -05:00
jeffro256
deb1ec93c8 BlockchainLMDB: mark overridden methods with override 2025-05-15 13:13:39 -05:00
jeffro256
06b74ae3f5 ringct & cryptonote_basic: detangle dependencies
`libringct` was linking against `libcryptonote_basic` for a single, one-line convenience function: `cryptonote::get_blob_hash`.
Since `cryptonote_basic.h` includes `rctTypes.h`, this one function effectively made an explicit circular dependency between
the two libraries. `cryptonote_format_utils.cpp` was including header `rctSigs.h` from `libringct`, when only `rctOps.h` from
`libringct_basic` needed to be included. `libcryptonote_basic` wasn't explictly linking against `libringct_basic` nor
`libringct` like it should have. And `libblockchain_db` wasn't linking against `libcryptonote_basic` like it should have. We
can also downgrade `libblockchain_db`'s dependency on `libringct` to `libringct_basic`.
2025-05-07 19:52:24 -05:00
tobtoht
c2e3835223 Merge pull request #9910
d106e21b7 src: fix clangd warnings (0xFFFC0000)
2025-05-07 03:32:02 +00:00
0xFFFC0000
d106e21b74 src: fix clangd warnings 2025-05-01 05:27:35 +00:00
tobtoht
c5cb8e1b78 Merge pull request #9916
98b79485d msys2 build: include int headers (jeffro256)
2025-04-30 05:29:25 +00:00
jeffro256
98b79485df msys2 build: include int headers 2025-04-29 00:57:37 -05:00
tobtoht
b6df4bb142 Merge pull request #9875
fd08594ca wallet: fix monero-wallet-rpc ignoring calls during sync (tzadiko)
2025-04-25 05:09:56 +00:00
tobtoht
d2d976ca5a Merge pull request #9404
f4672c259 cryptonote_core: only verify txpool when the hardfork value has changed. (0xFFFC0000)
2025-04-24 16:13:01 +00:00
tobtoht
906acaf963 Merge pull request #9859
a57c099d0 fix: added key correspondence check (StrawberryChocolateFudge)
2025-04-24 15:44:08 +00:00
tobtoht
02fba21846 Merge pull request #9881
8af33c71c epee: syncobj: replace shims with Boost classes (jeffro256)
2025-04-23 16:31:56 +00:00
tobtoht
56ee3d2765 Merge pull request #9872
6d6e8e173 construct_tx_and_get_tx_key: don't erase exception trace (jeffro256)
2025-04-23 16:22:25 +00:00
tobtoht
d1a038683d Merge pull request #9848
f8ecd3174 Fix copies in ZMQ input/output (Lee *!* Clagett)
2025-04-23 16:21:01 +00:00
tobtoht
627bb04b98 Merge pull request #9851
70fe289d8 Improve move/copy/default constructor semantics for tx and block (Lee *!* Clagett)
2025-04-23 16:14:50 +00:00