Commit Graph

1661 Commits

Author SHA1 Message Date
tobtoht 687fdbfad5 Merge pull request #10576
eb025f7 common: validate Content-Range resume offset (iuyua9)
2026-05-19 16:31:26 +00:00
tobtoht 89f32b0869 Merge pull request #10558
4b58b63 tests: avoid braced scalar init in expect macros (selsta)
2026-05-15 20:06:14 +00:00
selsta 4b58b63083 tests: avoid braced scalar init in expect macros 2026-05-15 21:40:01 +02:00
tobtoht 552dd5bdfd Merge pull request #10567
4bec447 tests: remove obsolete memwipe optimization override (selsta)
2026-05-15 11:24:52 +00:00
tobtoht b7e777412e Merge pull request #10536
681ea9f epee: remove LOCAL_ASSERT (jeffro256)
2026-05-13 11:06:54 +00:00
tobtoht 11b40b4363 Merge pull request #10537
617eb9d core_tests: remove unused --test_data_path CLI argument (jeffro256)
2026-05-13 11:06:24 +00:00
iuyua9 eb025f765e common: validate Content-Range resume offset 2026-05-12 18:34:37 +08:00
tobtoht d450bbeb3e Merge pull request #10525
90fc50c cmake: only link Boost Chrono where needed (tobtoht)
2026-05-11 16:24:19 +00:00
tobtoht 14dc6241ac Merge pull request #10381
2210f85 ringct: make h2d fallible (jeffro256)
2026-05-10 17:41:49 +00:00
selsta 4bec447496 tests: remove obsolete memwipe optimization override 2026-05-09 23:56:26 +02:00
jeffro256 617eb9d394 core_tests: remove unused --test_data_path CLI argument 2026-05-07 13:20:13 -05:00
jeffro256 681ea9f1e9 epee: remove LOCAL_ASSERT
LOCAL_ASSERT was only defined on Windows,
only used in the `CHECK_AND_ASSERT` macro,
and was disabled in unit tests anyways,
but only in the main translation unit,
which didn't have local asserts,
since get_set_enable_assert was inline,
so the disabling didn't even do anything.
2026-05-07 13:03:13 -05:00
tobtoht 49ea802139 Merge pull request #9899
05ab316 epee: better scope leaver (jeffro256)
2026-05-06 19:34:39 +00:00
tobtoht 90fc50c371 cmake: only link Boost Chrono where needed 2026-05-06 21:24:14 +02:00
jeffro256 05ab316853 epee: better scope leaver
1. Doesn't allocate a `boost::shared_ptr`
2. Doesn't use a vtable
3. Doesn't use `std::function` wrapper
4. Doesn't necessarily copy functional object
5. Doesn't need a factory function for simple declaration (yay CTAD)
6. Isolated to its own header
7. Name doesn't suck as much
2026-05-06 11:59:00 -05:00
tobtoht 2d48a39658 Merge pull request #10483
0617f43 fix: warning: ignored-attributes (tobtoht)
2cf3e27 fix: warning: unused-result (tobtoht)
d8f27be fix: warning: unused-function (tobtoht)
ffbb0cc fix: warning: unused-const-variable (tobtoht)
57975ab fix: warning: deprecated-declarations (tobtoht)
3294b8e fix: warning: unused-variable (tobtoht)
20f6f5f fix: warning: unused-lambda-capture (tobtoht)
37e76ec fix: warning: inconsistent-missing-override (tobtoht)
2026-05-04 16:36:28 +00:00
jeffro256 2210f85189 ringct: make h2d fallible
One theoretically could have crafted a "long amount" (pre-v10) RingCT transaction
with non-0 padding bytes in the decoded amount which fails receiver scanning, but
passes third-party wallet proof checking.
2026-05-01 19:00:33 -05:00
tobtoht 2e0dcb3d95 Merge pull request #10422
df2b8b4 rpc: fix incomplete range check in get_coinbase_tx_sum + update test (Thomas)
2026-04-29 13:52:50 +00:00
tobtoht 57975abbd0 fix: warning: deprecated-declarations 2026-04-29 10:21:39 +02:00
tobtoht c7640ed37f Merge pull request #10475
172b4e1 fix: warning: variable set but not used (tobtoht)
2026-04-29 08:07:45 +00:00
Thomas df2b8b4bf6 rpc: fix incomplete range check in get_coinbase_tx_sum + update test 2026-04-28 21:32:12 +02:00
tobtoht 172b4e1883 fix: warning: variable set but not used 2026-04-28 16:24:41 +02:00
tobtoht 9d7ba46a36 Merge pull request #10366
baa631f Improve unpack reserve handling (Lee Clagett)
2026-04-27 23:08:32 +00:00
Lee Clagett baa631ff75 Improve unpack reserve handling 2026-04-27 18:25:18 -04:00
tobtoht 30b5d7bd44 daemon: remove miniupnp 2026-04-26 10:54:04 +02:00
jeffro256 0545a9611c cryptonote_core: add change address sanity check
Prevents silly mistakes where wrong change address is passed
2026-04-23 11:35:31 -05:00
tobtoht 230de37949 Merge pull request #10413
f684e7f functional_tests: fix HTTP digest auth sporadic failures (jeffro256)
2026-04-20 07:48:06 +00:00
tobtoht 94c2ed34c2 Merge pull request #10396
50b259d p2p: isolate regtest from mainnet bootstrap state (Jeetraj)
2026-04-18 08:13:26 +00:00
jeffro256 f684e7f3ce functional_tests: fix HTTP digest auth sporadic failures 2026-04-13 15:13:15 -05:00
Jeetraj 50b259d449 p2p: isolate regtest from mainnet bootstrap state 2026-04-09 11:05:47 +05:30
tobtoht 49f3fabbf4 Merge pull request #10382
742c629 p2p: fix hanging shutdown (j-berman)
2026-04-07 09:01:30 +00:00
tobtoht 99addbcc91 Merge pull request #10357
3e2c837 Cleanup some of the fragmented levin handling (Lee *!* Clagett)
2026-04-04 18:44:46 +00:00
tobtoht e992301548 Merge pull request #10388
1498737 zmq: add restricted rpc mode (selsta)
2026-04-02 20:03:09 +00:00
selsta 1498737f7f zmq: add restricted rpc mode 2026-04-01 18:04:24 +02:00
tobtoht 7cfd6f2d22 Merge pull request #10363
3d6b9fb Harden HTTP client auth (Lee *!* Clagett)
2026-03-28 19:50:11 +00:00
j-berman 742c62928a p2p: fix hanging shutdown 2026-03-25 13:27:44 -07:00
jeffro256 d8e978fae6 unit_tests: remove addressof overload for crypto::secret_key 2026-03-21 23:44:19 -10:00
Lee *!* Clagett 3d6b9fb568 Harden HTTP client auth 2026-03-13 13:41:15 -04:00
Lee *!* Clagett 3e2c837b26 Cleanup some of the fragmented levin handling 2026-03-11 13:37:22 -04:00
tobtoht bff2a21e3b Merge pull request #9443
23e29a5 Add Socks v5 support to daemon and wallet (Lee *!* Clagett)
2026-03-08 10:27:05 +00:00
Lee *!* Clagett 23e29a5074 Add Socks v5 support to daemon and wallet 2026-03-06 17:08:49 -05:00
tobtoht 2404f1bc92 Merge pull request #10220
2eed71e cryptonote_basic: fix add_extra_nonce_to_tx_extra() length (jeffro256)
2026-03-01 11:27:03 +00:00
jeffro256 2eed71e575 cryptonote_basic: fix add_extra_nonce_to_tx_extra() length
Reviewed-by: selsta <selsta@sent.at>
Reviewed-by: SChernykh
2026-02-24 17:13:37 -06:00
tobtoht 4efde0f4da Merge pull request #10320
4486925 Transition asio::deadline_timer to asio::steady_timer (Lee *!* Clagett)
2026-02-22 13:01:04 +00:00
tobtoht 55abb977b2 Merge pull request #10312
c93c4fc Misc clang 21 fixes (jeffro256)
2026-02-18 22:18:09 +00:00
Lee *!* Clagett 44869250bd Transition asio::deadline_timer to asio::steady_timer 2026-02-17 11:28:57 -05:00
jeffro256 c93c4fc829 Misc clang 21 fixes
* Use -O3 and other flags instead of -Ofast
  - https://discourse.llvm.org/t/rfc-deprecate-ofast/78687
  - https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
* Find libunwind library based on C++ compiler type, not C compiler type
* In stack_trace.cpp, pass stream modifiers to `std::stringstream` first, then send string to log
* In stack_trace.cpp, remove dead code related to `stack_trace_log` path
* Remove `virtual` method attributues from `final` class `cryptonote::core`
* Remove unused `this` capture in cryptonote protocol handler
* Remove unused variable `bad` in net node
* Use `std::make_unsigned` instead of `boost::make_unsigned`
  - https://github.com/boostorg/type_traits/issues/171
  - https://github.com/boostorg/type_traits/issues/202
  - https://github.com/boostorg/type_traits/pull/199
* Cleanup `include`s in pair serialization
* Test convergence b/t `std::make_unsigned` and `boost::make_unsigned`

Fixes compilation and silences warnings on:
clang version 21.1.6
Linux 6.18.8-3-cachyos
2026-02-09 09:42:32 -07:00
tobtoht 20ef991839 Merge pull request #9494
2a1a489 src: dynamic block sync size Co-authored-by: nahuhh (0xFFFC0000)
2026-02-03 21:25:04 +00:00
j-berman 7d1f779530 p2p: connection patches
- Make sure the server sends a complete response when the client
includes the "Connection: close" header.
- Make sure the server terminates in `m_strand` to avoid
concurrent socket closure and ops processing.
2026-01-15 22:30:43 -08:00
tobtoht 7ef6a2247e cmake: only search for python where we need it 2026-01-03 12:33:25 +01:00