Commit Graph
8455 Commits
Author SHA1 Message Date
j-berman 79a996be02 crypto: torsion clearing for FCMP++ 2026-07-07 14:32:13 -07:00
tobtoht 52f02f26fc Merge pull request #10135
9f52166 crypto: fe_reduce_vartime (j-berman)

ACKs: UkoeHB, jeffro256
2026-07-07 08:30:39 +00: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 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 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 32632d1f86 Merge pull request #10761
13db615 Daemon RPC: /getblocks.bin incremental pool fetch even when no new blocks (j-berman)

ACKs: rbrunner7*, selsta, jeffro256
2026-07-02 21:02:09 +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 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
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
j-berman 13db615bb8 Daemon RPC: /getblocks.bin incremental pool fetch even when no new blocks 2026-06-30 12:15:22 -07:00
tobtoht ad6b10f33c Merge pull request #10816
06221f2 wallet: store fee for not_enough_{unlocked_,}balance (tobtoht)

ACKs: selsta, plowsof
2026-06-30 15:06:45 +00:00
Ap4sh dc45f673c9 cryptonote_basic: remove legacy address parser 2026-06-30 12:20:41 +02:00
tobtoht 596d0a0363 Merge pull request #10780
c914c27 src: update checkpoints to match v0.18.5.1 (selsta)

ACKs: plowsof*, tobtoht
2026-06-30 10:05:22 +00:00
tobtoht 05b312799c Merge pull request #10837
265e95a blockchain: improve incoming block scan table handling (selsta)

ACKs: SChernykh, j-berman
2026-06-30 10:01:32 +00:00
tobtoht d6a90937c8 Merge pull request #10835
330062a Optimized handle_notify_new_transactions's duplicate tx check - Check sha256 digests instead of full blobs (much less memory used) - Replace `find->insert` sequence with a single `insert` - 2x fewer hashset accesses - Preallocate the required size for the hashset (no full-table rehashes) (SChernykh)

ACKs: selsta, j-berman
2026-06-30 09:59:55 +00:00
tobtoht 6f09e39866 Merge pull request #10597
d8f3b81 p2p: restore safe sync mode when target height drops (selsta)

ACKs: SChernykh, j-berman
2026-06-30 09:54:19 +00:00
j-berman 9f52166804 crypto: fe_reduce_vartime 2026-06-29 16:18:03 -07: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
selsta c914c27c46 src: update checkpoints to match v0.18.5.1 2026-06-29 18:28:41 +02:00
selsta 265e95a8b5 blockchain: improve incoming block scan table handling 2026-06-29 14:07:28 +02: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
tobtoht 46d39a2704 Merge pull request #10811
8a744a6 tests: remove dead transactions_generation_from_blockchain (Thomas)
b5136b1 common: remove unused data_cache.h (Thomas)

ACKs: selsta, tobtoht
2026-06-29 11:43:26 +00:00
SChernykh 330062a004 Optimized handle_notify_new_transactions's duplicate tx check
- Check sha256 digests instead of full blobs (much less memory used)
- Replace `find->insert` sequence with a single `insert` - 2x fewer hashset accesses
- Preallocate the required size for the hashset (no full-table rehashes)
2026-06-29 08:06:31 +02: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
tobtoht afa44c5322 Merge pull request #10806
ee052f7 cmake: add build translations option (tobtoht)

ACKs: selsta, plowsof
2026-06-27 13:04:55 +00:00
tobtoht 9f6df4cf9c Merge pull request #10807
9ed0a11 cmake: set message mode everywhere (tobtoht)

ACKs: selsta, jeffro256
2026-06-27 12:03:44 +00:00
tobtoht 15a1521c38 Merge pull request #10802
473035e wallet: add missing copyright info (jpk68)

ACKs: selsta, tobtoht
2026-06-27 12:02:58 +00:00
tobtoht 7f982b8c9d Merge pull request #10803
d7e2399 cryptonote_basic: remove unused function (jpk68)

ACKs: selsta, tobtoht
2026-06-27 12:02:08 +00: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
selsta d8f3b81f79 p2p: restore safe sync mode when target height drops 2026-06-24 21:58:51 +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 06221f2075 wallet: store fee for not_enough_{unlocked_,}balance 2026-06-24 14:10:23 +02:00
Thomas b5136b1a5d common: remove unused data_cache.h
Dead since 40eb82873 (2025-10) moved verRct caching into the mempool;
only a stale #include remained in blockchain.cpp.
2026-06-23 22:31:28 +02:00
jpk68 14e1753774 simplewallet: fix some more typos 2026-06-22 16:16:59 -04:00
tobtoht 9ed0a11417 cmake: set message mode everywhere 2026-06-21 23:24:30 +02:00
tobtoht ee052f7872 cmake: add build translations option 2026-06-21 22:50:13 +02:00
jpk68 473035ea69 wallet: add missing copyright info 2026-06-21 14:05:08 -04:00
Ap4sh f4047aeb41 cryptonote_basic: copy tx extra payment IDs 2026-06-21 16:41:13 +02:00
tobtoht 53dba0854e Merge pull request #10788
6da0999 p2p: replace make_address_v4_from_v6 with boost function (jpk68)
ff1f97b dns_utils: replace address-to-string functions (jpk68)

ACKs: selsta, tobtoht
2026-06-21 14:09:19 +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
tobtoht 837e9cdd30 Merge pull request #10767
e9a8a26 wallet: wallet args take argv[] as const (jeffro256)

ACKs: selsta, tobtoht
2026-06-20 20:10:26 +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