Commit Graph
8826 Commits
Author SHA1 Message Date
jeffro256 0513149477 cryptonote_core: support RandomX V2 and commitments in v17
See docs/BLOCK_HASHING.md

This commit does required consensus changes only.
2026-09-18 23:31:13 -05:00
jeffro256andGitHub f978eab613 Merge pull request #465 from j-berman/unprunable-summ-fcmp-carrot
cryptonote_basic: get_transaction_unprunable_summary FCMP++/Carrot
2026-09-18 20:01:08 -05:00
j-berman 657ea80212 cryptonote_basic: get_transaction_unprunable_summary FCMP++/Carrot 2026-09-18 17:08:44 -07:00
j-berman d996fc33b3 Daemon RPC: only set init sync data if not already set 2026-09-18 16:56:34 -07:00
Justin BermanandGitHub 4d9ebc3746 Merge pull request #464 from jeffro256/fcmp++-stage_upstream_mx25519_api_change
carrot: fix mx25519 upstream and convergence tests
2026-09-18 15:55:53 -07:00
jeffro256 fc580f431b carrot: fix mx25519 upstream and convergence tests 2026-09-18 17:13:41 -05:00
j-berman 9eb29a502b Move to TU where << is used 2026-09-18 13:49:12 -07:00
j-berman c41ac9e109 include <ostream> for linker errs 2026-09-18 12:47:11 -07:00
jeffro256andj-berman 0dfbdcbfbf More rebase fixes
Co-authored-by: j-berman <justinberman@protonmail.com>
2026-09-18 12:21:38 -07:00
j-berman 048ac3f15d Bump multiexp to fix regression 2026-09-18 10:42:46 -07:00
j-berman 8a570f35da txpool: Don't queue dup txs for relay in strand 2026-09-17 18:36:03 -07:00
+3 a9145f9d38 FCMP++/Carrot mega commit [9/14/26]
Co-authored-by: jeffro256 <jeffro256@tutanota.com>
Co-authored-by: Luke Parker <lukeparker5132@gmail.com>
Co-authored-by: Lee *!* Clagett <code@leeclagett.com>
Co-authored-by: SyntheticBird45 <someoneelse.is_on.github.rio7x@simplelogin.com>
Co-authored-by: jeetrex17 <jeetrex@tutamail.com>
Co-authored-by: UkoeHB <ukoehb@users.noreply.github.com>
Co-authored-by: MrCyjaneK
Co-authored-by: tobtoht
Co-authored-by: selsta
Co-authored-by: Thomas <thomas.giudici@proton.me>
Co-authored-by: navidR
Co-authored-by: Boog900 <boog900@tutanota.com>
2026-09-17 18:33:24 -07:00
tobtoht cee436892f Merge pull request #11235
f8e2a87 cryptonote_basic: serialization checks (j-berman)

ACKs: plowsof, selsta*, jpk68
2026-09-10 13:30:16 +00:00
tobtoht f8910c0264 Merge pull request #11231
6f42318 simplewallet: remove redundant space in prompt (jpk68)

ACKs: tobtoht, selsta
2026-09-10 13:29:06 +00:00
j-berman f8e2a8709d cryptonote_basic: serialization checks 2026-09-09 18:20:50 -07:00
tobtoht 04ba5cc26d Merge pull request #11232
c925cc3 ringct: fuzz and harden Bulletproof verification (Samy)

ACKs: jpk68, selsta
2026-09-09 20:20:10 +00:00
tobtoht 7672d4f8e1 Merge pull request #11230
0855930 simplewallet: rename duplicate amount headers for clarity (reemuru)

ACKs: jpk68, selsta
2026-09-09 20:18:14 +00:00
tobtoht d403377ada Merge pull request #11226
5e42add wallet_api: expose signed message verification details (selsta)

ACKs: jpk68, SNeedlewoods
2026-09-09 20:16:51 +00:00
tobtoht 8bbd915f59 Merge pull request #11223
70ac701 cryptonote_basic: cache prunable hash for pruned txs (Samy)

ACKs: jpk68, selsta
2026-09-09 20:14:57 +00:00
tobtoht 3f83ce737c Merge pull request #11217
d8a4363 lmdb: correct environment error spelling (Ming Code)

ACKs: jpk68, selsta
2026-09-09 20:13:32 +00:00
tobtoht a1aaa56057 Merge pull request #11213
ba3884e wallet2: exclude outputs from an unconfirmed send in reserve proofs (Cole Munz)

ACKs: jpk68, selsta
2026-09-09 20:10:50 +00:00
tobtoht 9972aecd54 Merge pull request #11212
c7f77c2 simplewallet: hide reached confirmation threshold (Samy)

ACKs: jpk68, selsta
2026-09-09 20:09:49 +00:00
tobtoht afa16e098a Merge pull request #11209
e96e9e6 simplewallet: quote notes in transfer exports (Samy)

ACKs: jpk68, selsta
2026-09-09 20:09:11 +00:00
tobtoht b30a99386d Merge pull request #11207
1f58e91 epee, common: pass unsigned char to <cctype> functions (pucedoteth)

ACKs: jpk68, Ap4sh, selsta
2026-09-09 20:08:18 +00:00
tobtoht 350c0bde2c Merge pull request #11206
2fe7534 Add checks in cryptonote serialization routine (Lee *!* Clagett)

ACKs: jpk68, j-berman, selsta, plowsof
2026-09-09 20:07:40 +00:00
tobtoht c1e70c3cf7 Merge pull request #11204
b697a72 lmdb: retain percentage fallback for batch resizing (selsta)

ACKs: jpk68, j-berman, jeffro256, plowsof
2026-09-09 20:06:00 +00:00
tobtoht 3f84ce4279 Merge pull request #11202
722de8e crypto: handle unaligned Groestl input (Samy)

ACKs: jpk68, selsta
2026-09-09 20:04:29 +00:00
tobtoht 9881dabff2 Merge pull request #11183
a3deaab wallet2: fix infinite loop in estimate_tx_size_and_weight on large n_outputs (Masamune)

ACKs: thomasbuilds*, selsta, plowsof, jpk68
2026-09-09 20:00:50 +00:00
tobtoht c482bc8b23 Merge pull request #11178
772d856 blockchain_utilities: fix memory safety bugs (jpk68)

ACKs: selsta, tobtoht
2026-09-09 20:00:01 +00:00
tobtoht 1577f64637 Merge pull request #11168
bc870e0 blockchain: limit offsets cache size (j-berman)

ACKs: jeffro256, selsta, jpk68, thomasbuilds, plowsof
2026-09-09 19:58:53 +00:00
tobtoht bc73a32fee Merge pull request #11123
29922e1 device_trezor: show error when device is disconnected (jpk68)

ACKs: selsta, SNeedlewoods
2026-09-09 19:57:58 +00:00
tobtoht 98889c4b1f Merge pull request #11122
617cb6a device_trezor: show error when operations are cancelled (jpk68)

ACKs: selsta, SNeedlewoods
2026-09-09 19:57:30 +00:00
tobtoht b7a89f8b88 Merge pull request #11076
1a8ca87 wallet: add pending_tx sanity checker (koe)

ACKs: j-berman, jpk68, selsta, thomasbuilds
2026-09-09 19:56:38 +00:00
tobtoht d029a08ff4 Merge pull request #11068
91d851a blockchain_db: resume interrupted pruning (Samy)

ACKs: selsta, jpk68
2026-09-09 19:53:54 +00:00
tobtoht 6b37a7e75d Merge pull request #11054
2b7ed47 cmake: add more compiler warnings (jpk68)

ACKs: SNeedlewoods*, selsta, thomasbuilds
2026-09-09 19:53:01 +00:00
tobtoht c24468b430 Merge pull request #10969
94034af blockchain_utilities: resume interrupted exports safely (Samy)

ACKs: selsta, jpk68
2026-09-09 19:52:11 +00:00
tobtoht a9e3a5a20e Merge pull request #10669
c7a2d4f crypto: reduce crypto.h header weight (jeffro256)

ACKs: selsta, jpk68
2026-09-09 19:50:28 +00:00
jeffro256 c7a2d4f66a crypto: reduce crypto.h header weight 2026-09-07 21:32:29 -05:00
Samy 91d851a85b blockchain_db: resume interrupted pruning
Initial pruning commits the pruning seed at its first checkpoint. If it is interrupted after that point, startup selects incremental pruning and leaves the historical scan unfinished.

Store the last processed transaction hash in the same transaction as each checkpoint. On restart, prune newly matured tip records, continue after the marker, and clear it with the final commit.

Databases interrupted by older binaries have no marker and still require the existing manual prune_blockchain command.
2026-09-05 16:31:39 +02:00
Samy 94034af4a2 blockchain_utilities: resume interrupted exports safely
Use the file size to distinguish a clean EOF from an incomplete trailing chunk before resuming an export

Truncate only that incomplete tail and keep malformed chunks or I/O failures non-destructive
2026-09-05 16:27:41 +02:00
koeandj-berman 1a8ca87e88 wallet: add pending_tx sanity checker
Co-authored-by: j-berman <justinberman@protonmail.com>
2026-09-04 15:42:22 -05:00
Samy c925cc3b31 ringct: fuzz and harden Bulletproof verification 2026-09-03 22:14:17 +02:00
tobtoht 3d3920d748 Merge pull request #10875
773e307 simplewallet: reject donations when not on mainnet (jpk68)

ACKs: SNeedlewoods*, thomasbuilds, selsta
2026-09-03 13:34:56 +00:00
Masamune a3deaab98a wallet2: fix infinite loop in estimate_tx_size_and_weight on large n_outputs
estimate_rct_tx_size() and estimate_tx_weight() compute the Bulletproof padded
output count with `while ((1<<log_padded_outputs) < n_outputs)`, shifting a
signed int. For n_outputs > 2^30 this reaches `1 << 31` (signed overflow, UB),
and once the shift count exceeds the int width the value cycles and never
reaches n_outputs, so the loop never terminates. estimate_tx_size_and_weight()
accepts n_outputs up to INT_MAX (only negative is rejected), so a single
wallet-rpc call spins the handling thread forever.

Shift an unsigned 64-bit one and compare in uint64_t at all three shift sites,
and accumulate the estimated size in size_t (cast the per-input and per-output
terms) so the size arithmetic cannot overflow for large counts.
2026-09-03 11:45:52 +07:00
tobtoht fdb030df51 Merge pull request #11199
b93ce60 common: handle case-insensitive Content-Range (Samy)

ACKs: jpk68, selsta
2026-09-02 10:19:30 +00:00
jpk68 6f4231887d simplewallet: remove redundant space in prompt 2026-09-01 17:20:41 -04:00
tobtoht df8b21b153 Merge pull request #11035
eeb8245 wallet_api: reject transaction file signing with hardware wallets (selsta)

ACKs: SNeedlewoods, jpk68
2026-09-01 19:12:49 +00:00
reemuruandSamy 085593040e simplewallet: rename duplicate amount headers for clarity
There are duplicate 'amount' headers when using export_transfers all. Column five represents the transaction total while column eleven represents the amount transferred per destination.

Rename the columns without changing their order or values.

(cherry picked from commit 30ab49d5cb5f7d5b089d20919cf4f02b063f2e6b)
2026-09-01 20:24:54 +02:00
Samy b93ce60e7a common: handle case-insensitive Content-Range 2026-09-01 20:03:12 +02:00
selsta 5e42addb90 wallet_api: expose signed message verification details 2026-09-01 19:03:57 +02:00