Commit Graph
287 Commits
Author SHA1 Message Date
j-berman 309ee2d034 Update expected BASE_FEE_ESTIMATE with change to min block penalty size 2026-09-23 11:51:03 -07:00
SlowBearDiggerandjeffro256 a20da5a6e3 tests: cover split CARROT transaction RPC response 2026-09-23 08:52:12 -05: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 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
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
tobtoht cb3205a41a Merge pull request #11132
a760393 wallet_rpc_server: leave unknown incoming tx hash empty (SlowBearDigger)

ACKs: selsta*, jpk68, jeffro256
2026-08-23 20:17:23 +00:00
tobtoht 0aa9c51bd8 Merge pull request #11107
e000d42 functional_tests_rpc: fix string.join() (a9oss)

ACKs: SNeedlewoods, selsta, jeffro256, jpk68
2026-08-20 15:10:12 +00:00
tobtoht f9bd8e7780 Merge pull request #11105
a16b3c8 functional_tests: remove unreachable code, kill process after timeout (SNeedlewoods)

ACKs: selsta, tobtoht, jpk68
2026-08-19 11:22:45 +00:00
tobtoht b6f98a0dfc Merge pull request #11084
4b3eabf daemon: add unban all command (Rene Guenon)

ACKs: selsta, jpk68, thomasbuilds
2026-08-18 21:51:03 +00:00
SlowBearDigger a760393d61 wallet_rpc_server: leave unknown incoming tx hash empty 2026-08-18 15:12:51 -05:00
tobtoht 17b2cc3d0f Merge pull request #11087
d7f32ed wallet_rpc_server: expose change amount in transfer entries (SlowBearDigger)

ACKs: selsta, jpk68
2026-08-17 17:27:56 +00:00
a9oss e000d42a0e functional_tests_rpc: fix string.join() 2026-08-14 15:20:06 +01:00
SNeedlewoodsandselsta a16b3c8016 functional_tests: remove unreachable code,
kill process after timeout

Co-authored-by: selsta <selsta@sent.at>
2026-08-13 16:14:27 +02:00
SlowBearDigger d7f32ed868 wallet_rpc_server: expose change amount in transfer entries 2026-08-11 12:43:53 -05:00
Rene Guenon 4b3eabf858 daemon: add unban all command 2026-08-11 16:54:47 +04:00
Samy 60493c3a79 wallet_rpc_server: add weight to describe_transfer 2026-08-04 19:55:20 +02:00
tobtoht c821e75318 Merge pull request #10169
0c9956a functional_tests: Python epee binary lib and test `/get_blocks.bin` (jeffro256)

ACKs: selsta, plowsof
2026-07-20 18:34:10 +00:00
jeffro256andselsta 0c9956af80 functional_tests: Python epee binary lib and test /get_blocks.bin
Co-authored-by: selsta <selsta@sent.at>
2026-07-17 22:35:43 -05:00
tobtoht 51b8cc90c6 Merge pull request #10826
2a9628b functional_tests_rpc: recreate socket for each startup probe (selsta)

ACKs: tobtoht, jpk68
2026-07-15 18:20:32 +00:00
tobtoht fe0d789ffb Merge pull request #10858
2d4e154 rpc: fix block template reserved offset (Samy)

ACKs: amin404ala*, selsta, SChernykh
2026-07-10 11:08:24 +00:00
Samy 2d4e1547fd rpc: fix block template reserved offset 2026-07-05 13:45:29 +02:00
selsta 80402158fd functional_tests: avoid sweep_single spent status race 2026-07-03 14:04:12 +02:00
selsta ed3283dec9 Revert "functional_tests: add debug logging to transfer"
This reverts commit 2bc67262c8.
2026-07-03 01:02:46 +02: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
selsta 2a9628b735 functional_tests_rpc: recreate socket for each startup probe 2026-06-26 14:51:38 +02:00
selsta 2bc67262c8 functional_tests: add debug logging to transfer 2026-06-26 14:38:36 +02:00
Thomas 8a744a6388 tests: remove dead transactions_generation_from_blockchain
Functional test commented out since 2014 (296ae46ed); never #included or
called (main.cpp only runs transactions_flow_test).
2026-06-23 22:32:17 +02:00
Thomas 02db831d01 Fix spelling typos 2026-06-18 09:30:42 +02:00
tobtoht 416804895c Merge pull request #10711
76831c2 fix: TypeError: 'method' object is not subscriptable (SNeedlewoods)
2026-06-09 17:52:37 +00:00
tobtoht ab2c0f8f8d Merge pull request #10589
f095abd wallet_rpc_server: preserve payment ID when editing address book (selsta)
2026-06-03 20:38:01 +00:00
selsta f095abd9aa wallet_rpc_server: preserve payment ID when editing address book 2026-06-03 22:36:03 +02:00
SNeedlewoods 76831c2edf fix: TypeError: 'method' object is not subscriptable 2026-06-03 22:07:49 +02:00
9b337ca01f rpc: remove pay-to-use RPC on node side
Co-authored-by: tobtoht <tob@featherwallet.org>
Co-authored-by: SNeedlewoods <sneedlewoods_1@protonmail.com>
2026-05-26 22:54:30 +02:00
tobtoht af4e0cf411 tests: remove psutil 2026-05-26 22:21:34 +02:00
tobtoht d1eaf54ed1 tests: replace monotonic 2026-05-20 20:00:19 +02:00
Thomas 2c327aa325 fix spelling in comments and docs 2026-05-13 21:20:05 +02: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 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
Thomas df2b8b4bf6 rpc: fix incomplete range check in get_coinbase_tx_sum + update test 2026-04-28 21:32:12 +02:00
tobtoht 30b5d7bd44 daemon: remove miniupnp 2026-04-26 10:54:04 +02:00
jeffro256 f684e7f3ce functional_tests: fix HTTP digest auth sporadic failures 2026-04-13 15:13:15 -05:00
tobtoht 7ef6a2247e cmake: only search for python where we need it 2026-01-03 12:33:25 +01:00
jeffro256 40eb82873e cryptonote_core: cache input verification results directly in mempool
This replaces `ver_rct_non_semantics_simple_cached()` with an API that offloads
the responsibility of tracking input verification successes to the caller. The
main caller of this function in the codebase, `cryptonote::Blockchain()` instead
keeps track of the verification results for transaction in the mempool by
storing a "verification ID" in the mempool metadata table (with `txpool_tx_meta_t`).
This has several benefits, including:

* When the mempool is large (>8192 txs), we no longer experience cache misses and unnecessarily re-verify ring signatures. This greatly improves block propagation time for FCMP++ blocks under load
* For the same reason, reorg handling can be sped up by storing verification IDs of transactions popped from the chain
* Speeds up re-validating every mempool transaction on fork change (monerod revalidates the whole tx-pool on HFs #10142)
* Caches results for every single type of Monero transaction, not just latest RCT type
* Cache persists over a node restart
* Uses 512KiB less RAM (8192*2*32B)
* No additional storage or DB migration required since `txpool_tx_meta_t` already had padding allocated
* Moves more verification logic out of `cryptonote::Blockchain`

Furthermore, this opens the door to future multi-threaded block verification
speed-ups. Right now, transactions' input proof verification is limited to one
transaction at a time. However, one can imagine a scenario with verification IDs
where input proofs are optimistically multi-threaded in advance of block
processing. Then, even though ring member fetching and verification is
single-threaded inside of `cryptonote::Blockchain::check_tx_inputs()`, the
single thread can skip the CPU-intensive cryptographic code if the verification
ID allows it.

Also changes the default log category in `tx_verification_utils.cpp` from "blockchain" to "verify".
2026-01-02 15:47:19 -06:00
j-berman daded36823 wallet: identify spends in pool when scanning
- Make sure to mark identified spends in the pool as spends. The
wallet might not know these have been spent if it wasn't the wallet
that relayed the tx to the daemon, or the wallet was cleared via
rescan_bc.
- Make sure to add spends to m_unconfirmed_txs if not present.
- Make sure to process the entire pool again if refreshing for
the first time. The wallet fetches pool and blocks at the same
time. The wallet scans blocks first, then pool. If the wallet
identifies received outputs in the chain, then it may have spent
those received outputs in the pool. So we make sure to re-process
the entire pool again after scanning the chain for the first time.
- Multisig wallets that know about spent key images can now detect
spend txs in the pool. Update tests for that.
2025-09-15 14:14:50 -07:00
jeffro256 57c40b8993 functional_tests: fix piecemeal export in cold_signing, part 2
Do not mark output import as done if exception is thrown for output being past last imported output.
2025-08-26 15:38:25 -05:00
jeffro256 22433f8414 functional_tests: fix piecemeal export in cold_signing
The `while` loop condition was incorrect, which could lead to incomplete imports.
Also, setting `start` to an *undone* output speeds up the test by 16s on my machine.
2025-08-22 13:21:32 -05:00
jeffro256 78b8c83fdf functional_tests: check transfers list consistency in cold_signing 2025-08-21 11:34:58 -05:00
tobtoht 4e93cdc941 Merge pull request #9883
7b28be0 functional_tests: test PR #9863 (jeffro256)
2025-08-21 16:31:19 +00:00
tobtoht 6dc7b1f8fb Merge pull request #9921
90256c8 error out if functional tests are disabled (Crypto City)
2025-08-21 16:19:30 +00:00
tobtoht 08438b60c1 Merge pull request #9838
2f2a8c4 wallet: Improve Fee Priority Code for Clarity (tzadiko)
2025-07-10 12:45:39 +00:00