Commit Graph
1014 Commits
Author SHA1 Message Date
tobtoht c24db9b23d Merge pull request #10890
0b79679 wallet2: guard gamma picker against zero-output windows (selsta)

ACKs: jeffro256*, iamamyth
2026-07-16 13:37:30 +00:00
tobtoht 2af2b48c03 Merge pull request #10345
b61c750 crypto: ed25519 -> Wei conversion (j-berman)

ACKs: UkoeHB, jeffro256
2026-07-15 17:21:32 +00:00
selsta 0b7967907f wallet2: guard gamma picker against zero-output windows 2026-07-14 19:41:36 +02:00
selsta b3aca5f53f tests: fix epee connection lifetime race
The lifetime test waited only for the client-side socket count to
reach zero before reconnecting. Because server-side inbound connections
are tracked separately, they may still be tearing down asynchronously,
causing the next connection attempt to fail with ECONNRESET on macOS.

Wait for both client and server connection accounting to drain before
the next reconnect. Also use the error_code connect overload so failures
are reported by gtest instead of escaping as uncaught Boost exceptions.
2026-07-08 21:10:40 +02:00
j-berman b61c750029 crypto: ed25519 -> Wei conversion 2026-07-08 06:34:40 -07:00
tobtoht 19b303c9b5 Merge pull request #10844
eaf139a tests: fix Windows unit test failures (selsta)

ACKs: tobtoht, plowsof
2026-07-08 11:01:22 +00:00
tobtoht 1d2c866f3e Merge pull request #10843
be7a5ec epee: allow shared Windows file reads (selsta)

ACKs: tobtoht, plowsof
2026-07-08 11:00:42 +00:00
tobtoht a434e19138 Merge pull request #10808
b305c44 escape control characters in json string serialiser (alhudz)

ACKs: vtnerd*, selsta
2026-07-08 09:30:20 +00:00
alhudzand“rootvector2” b305c44fc1 escape control characters in json string serialiser 2026-07-08 13:02:50 +05:30
j-berman 79a996be02 crypto: torsion clearing for FCMP++ 2026-07-07 14:32:13 -07:00
tobtoht a7c93412fe Merge pull request #10839
dc45f67 cryptonote_basic: remove legacy address parser (Ap4sh)

ACKs: selsta, tobtoht
2026-07-06 16:46:50 +00:00
selstaandjeffro256 dc8bc028a6 cryptonote: scope 202612 PoW workaround
The block 202612 PoW workaround previously applied to any block at
height 202612. Restrict it to the object hashes of the known historical
mainnet, testnet, and stagenet block hashing blobs so new chains do not
inherit the fixed PoW hash, which would prevent sync or mining past that
height if their difficulty is higher.

Reported-by: DataHoarder
Co-authored-by: jeffro256 <jeffro256@tutanota.com>
2026-07-03 14:59:41 +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 dac3103348 Merge pull request #10111
4f2a8a4 crypto: fast fe_batch_invert using Montgomery's trick (j-berman)

ACKs: UkoeHB, jeffro256
2026-07-03 11:55:20 +00:00
tobtoht a9d9134f62 Merge pull request #10800
f4047ae cryptonote_basic: copy tx extra payment IDs (Ap4sh)

ACKs: jeffro256, selsta
2026-07-01 20:00:37 +00:00
selsta be7a5ecc4e epee: allow shared Windows file reads
Opening a file with a zero sharing mode makes read-only access exclusive
on Windows. Allow read and write sharing so callers can inspect files
that are already open, such as active log files.
2026-06-30 19:35:28 +02:00
selsta eaf139a25a tests: fix Windows unit test failures
Preserve line endings for test fixtures so file hashes remain stable
across platforms.

Temporarily release the wallet keys lock while inspecting the keys file,
then reacquire it and verify the lock state. This lets the test read the
file on Windows, where the lock prevents a concurrent read open.

Avoid passing possibly negative char values to std::isprint(), which is
undefined behavior except for EOF.
2026-06-30 18:39:11 +02:00
selsta a568ba39fa tests: avoid ephemeral p2p ports in node_server tests
48080 and 58080 are within common ephemeral port ranges, which can
make node_server tests intermittently fail to bind after recently
closed TCP connections used the same local source port.

Use fixed unit-test ports outside those ranges and keep the tests on
127.0.0.1 instead of relying on 127.0.0.2 being configured.
2026-06-30 13:41:59 +02:00
Ap4sh dc45f673c9 cryptonote_basic: remove legacy address parser 2026-06-30 12:20:41 +02:00
j-bermanandJeffro 4f2a8a4270 crypto: fast fe_batch_invert using Montgomery's trick
https://iacr.org/archive/pkc2004/29470042/29470042.pdf 2.2

Also includes:
- fe_equals function
- breaks out fe_from_bytes_vartime function

Co-authored-by: Jeffro <jeffro256@tutanota.com>
2026-06-29 12:41:39 -07:00
tobtoht 286a7c9c77 Merge pull request #10834
4a627d4 tests: check node_server race init and connect (selsta)

ACKs: tobtoht, plowsof
2026-06-29 18:24:57 +00:00
tobtoht 6eef935d2c Merge pull request #10810
07f7c75 http: parse server Content-Length strictly (alhudz)

ACKs: vtnerd, selsta
2026-06-29 11:42:27 +00:00
selsta 4a627d44fa tests: check node_server race init and connect 2026-06-28 19:24:36 +02:00
tobtoht 0a83a39883 Merge pull request #10792
02db831 Fix spelling typos (Thomas)

ACKs: tobtoht, jeffro256
2026-06-24 17:21:24 +00:00
alhudz 07f7c7521d http: parse server Content-Length strictly 2026-06-23 17:37:41 +05:30
tobtoht 2c48374ecd Merge pull request #10768
389f366 http: share deterministic header field parser (selsta)

ACKs: SChernykh*, vtnerd
2026-06-21 21:44:23 +00:00
selsta 389f3660db http: share deterministic header field parser 2026-06-21 22:25:58 +02:00
Ap4sh f4047aeb41 cryptonote_basic: copy tx extra payment IDs 2026-06-21 16:41:13 +02:00
Thomas 02db831d01 Fix spelling typos 2026-06-18 09:30:42 +02:00
tobtoht 1431995430 Merge pull request #10740
776d355 use byte-safe isalpha in epee json value parser (alhudz)

ACKs: iamamyth, selsta
2026-06-14 15:49:09 +00:00
tobtoht fb98441179 Merge pull request #9251
360db8f unit_tests: test every single field of JSON tx repr (jeffro256)

ACKs: selsta, tobtoht
2026-06-13 10:30:15 +00:00
tobtoht 887f2486fe Merge pull request #8758
3af06e5 wallet: remove output blackballing (tobtoht)
2026-06-11 20:20:38 +00:00
alhudz 776d355780 use byte-safe isalpha in epee json value parser 2026-06-10 10:01:46 +05:30
tobtoht 1b785d1c76 Merge pull request #10703
0fc5bb7 net: canonicalize Tor/I2P hosts during deserialization (selsta)
2026-06-09 17:49:08 +00:00
tobtoht 85e15b55e1 Merge pull request #10644
9dbce17 Blockchain: option for fast manual block popping (jeffro256)
2026-06-08 08:30:46 +00:00
jeffro256 9dbce17bb5 Blockchain: option for fast manual block popping 2026-06-07 14:59:57 -05:00
tobtoht 880abde62a Merge pull request #10696
d42de75 tests: cover truncated \u escape at end of buffer in match_string2 (alhudz)
524b0d0 fix off-by-one over-read in match_string2 unicode escape parsing (alhudz)
2026-06-07 18:35:16 +00:00
tobtoht 0857da6d6d Merge pull request #10533
589dd0a ringct: merge decodeRct and decodeRctSimple (jeffro256)
2026-06-07 14:26:08 +00:00
tobtoht bf23534c8e Merge pull request #10691
f2afe97 p2p: close zone connections before stopping net servers (selsta)
3623399 p2p: make stop signal idempotent (selsta)
2026-06-06 13:12:31 +00:00
jeffro256andselsta 360db8f6fe unit_tests: test every single field of JSON tx repr
Co-authored-by: selsta <selsta@sent.at>
2026-06-05 12:43:02 -05:00
jeffro256 589dd0a973 ringct: merge decodeRct and decodeRctSimple 2026-06-05 12:37:00 -05:00
selsta 0fc5bb7c86 net: canonicalize Tor/I2P hosts during deserialization 2026-06-03 17:20:11 +02:00
selsta f2afe976c7 p2p: close zone connections before stopping net servers 2026-06-03 12:16:02 +02:00
alhudz d42de7580d tests: cover truncated \u escape at end of buffer in match_string2 2026-06-02 11:42:16 +05:30
tobtoht e2332bcbf6 Merge pull request #10686
1088570 tests: avoid null argv in program options setup (selsta)
9f6ffb5 workflows: speed up slow-hash in PR core_tests (selsta)
2026-06-01 20:13:12 +00:00
tobtoht 3c6c799d59 Merge pull request #10661
f8aeff5 seraphis_crypto: remove unused transcript utility (selsta)
2026-06-01 18:08:36 +00:00
selsta 108857032f tests: avoid null argv in program options setup 2026-06-01 00:51:37 +02:00
tobtoht 6db9abba90 Merge pull request #10637
438f7f9 net: canonicalize Tor and I2P hostnames (selsta)
2026-05-29 21:08:37 +00:00
selsta f8aeff5ad3 seraphis_crypto: remove unused transcript utility 2026-05-26 18:58:17 +02:00
tobtoht f4bbdee14f Merge pull request #10084
b4c5449 wallet: add `wallet2_basic` library types (jeffro256)
2026-05-25 20:48:17 +00:00