Commit Graph
7749 Commits
Author SHA1 Message Date
Lee Clagett 54229196bd Improve unpack reserve handling 2026-04-27 17:57:21 -04:00
tobtoht 23b420a992 Merge pull request #10337
1e6a551 cryptonote_basic: fix add_extra_nonce_to_tx_extra() length (jeffro256)
2026-03-01 11:28:46 +00:00
jeffro256 1e6a55109f cryptonote_basic: fix add_extra_nonce_to_tx_extra() length
Missing unit tests.
2026-02-24 17:39:20 -06:00
selsta 5312158756 windows_service: quote service executable path 2026-02-24 16:16:09 +01:00
tobtoht dbcc7d212c Merge pull request #10162
48252dd add getter for daemon proxy (woodser)
2026-02-22 12:59:56 +00:00
tobtoht afb0ae8822 Merge pull request #10318
a1a106d build: prepare v0.18.4.6 (selsta)
2026-02-18 22:20:20 +00:00
tobtoht e7ece64d32 Merge pull request #10317
54edc17 p2p: fix inverted ternary in peer list filter (selsta)
2026-02-18 22:18:02 +00:00
selsta a1a106d656 build: prepare v0.18.4.6 2026-02-13 18:20:50 +01:00
selsta 54edc176d5 p2p: fix inverted ternary in peer list filter 2026-02-13 18:14:26 +01:00
tobtoht 027bbf9e2b Merge pull request #10284
d4d67c4 multisig: fix kex failure in monero-gen-trusted-multisig (0xFFFC0000)
2026-02-03 18:59:41 +00:00
tobtoht 4ce39e0c14 Merge pull request #10280
482daa7 Tweak command_line::add_arg for clang 21 (Lee *!* Clagett)
2026-02-02 18:01:34 +00:00
0xFFFC0000 d4d67c48dc multisig: fix kex failure in monero-gen-trusted-multisig 2026-01-21 18:55:06 +00:00
Lee *!* Clagett 482daa7445 Tweak command_line::add_arg for clang 21 2026-01-12 18:49:20 -05:00
binaryFateandselsta ff4c4aaa1d Remove .no moneropulse domain from codebase 2026-01-13 00:02:16 +01:00
tobtoht 316a98b11e Merge pull request #10262
ec34c5b build: prepare v0.18.4.5 (selsta)
2025-12-29 22:41:50 +00:00
tobtoht 9dff86103e Merge pull request #10257
d8d3cf9 p2p: fix race causing dropped connections during sync (j-berman)
2025-12-29 22:24:38 +00:00
selsta ec34c5b93f build: prepare v0.18.4.5 2025-12-29 22:27:58 +01:00
j-berman c147e2dfe2 wallet2: fix edge case where tx's ki's remain marked unspent
If a tx is marked as failed (because it never shows up in the
daemon's pool), its key images get reset back to unspent so they
can be used in future txs.

If the tx re-enters the daemon's pool (e.g. it's removed from the
pool and then relayed back), then the wallet incorrectly maintains
that the tx's key images are unspent.

This change ensures the wallet re-marks the tx's key images as
spent if the tx re-appears in the node's pool.
2025-12-12 09:14:55 -08:00
j-berman d8d3cf9730 p2p: fix race causing dropped connections during sync
Without this commit:
1) read height from DB
2) add block to chain in separate thread
3) read chain for block id's and request them from peer
4) ERR in handle_response_chain_entry, peer's first block is the
one that was added to the chain, which has block idx=height from
step 1.

This commit reads the chain for height and highest block id's
in one go while holding the m_blockchain_lock to avoid the race.
2025-12-11 21:37:20 -08:00
tobtoht 15fc1c840c ledger: add nano gen5 id 2025-12-01 01:49:50 +01:00
Catandplowsof ba163d38cb simplewallet: edit desc. text for transfer 2025-11-26 19:21:18 +00:00
tobtoht 516e5355a1 Merge pull request #10206
4e4e343 Daemon: relay empty fluffy block on found block (j-berman)
2025-11-12 09:22:38 +00:00
j-berman 4e4e3439c9 Daemon: relay empty fluffy block on found block 2025-11-11 16:45:06 -08:00
j-berman 90dad18bfb tx pool: only increment m_txpool_weight for newly added pool txs
Otherwise we can end up double counting txs towards the weight,
which can over-state the pool weight. E.g. relay tx to node in
stem phase, add its weight to pool weight, then receive tx
from another node, then bump the pool weight again. That double
counts the tx towards the pool weight.

If the weight exceeds the max, the node will "prune" txs from the
pool. Thus, over-counting is probably a cause of, but perhaps
not the only cause of:
https://github.com/seraphis-migration/monero/issues/148
2025-11-11 16:31:37 -08:00
tobtoht 6f2574d9d2 Merge pull request #10195
26cf4f9 ledger: throw on secret view key export rejection (tobtoht)
2025-11-11 23:01:13 +00:00
tobtoht 68732126e9 Merge pull request #10202
dafecd0 cryptonote_protocol: accurate next_needed_height when there is an overlap (0xFFFC0000)
2025-11-11 22:42:07 +00:00
tobtoht 64f230d63a Merge pull request #10199
64f2d8e build: prepare v0.18.4.4 (selsta)
2025-11-11 21:52:46 +00:00
tobtoht 26cf4f9141 ledger: throw on secret view key export rejection 2025-11-11 20:57:56 +01:00
j-berman a83a46d600 Fix logging deadlock 2025-11-11 10:44:26 -08:00
0xFFFC0000 dafecd0add cryptonote_protocol: accurate next_needed_height when there is an overlap 2025-11-11 00:28:50 +03:30
selsta 64f2d8e45d build: prepare v0.18.4.4 2025-11-10 18:56:57 +01:00
tobtoht 3cc9d65c93 Merge pull request #10153
9239d36 wallet: identify spends in pool when scanning (j-berman)
2025-10-27 18:51:14 +00:00
woodser 48252dd6a9 add getter for daemon proxy 2025-10-12 09:00:33 -04:00
luigi1111 7c6e84466a Merge pull request #10106
09f5cbb build: prepare v0.18.4.3 (selsta)
2025-10-07 15:25:41 -04:00
luigi1111 fb76bc4d98 Merge pull request #10150
1829992 wallet2: warn instead of throw when RingDB doesn't include spend (j-berman)
2025-10-07 15:25:05 -04:00
luigi1111 020d980647 Merge pull request #10149
014f3cd cryptonote_basic: remove redundant call to get_transaction_hash() in overload (jeffro256)
2025-10-07 15:24:35 -04:00
luigi1111 de73139f42 Merge pull request #10148
7b53197 Cleaner validation (faster and saner) (j-berman)
2025-10-07 15:23:52 -04:00
j-berman 9239d36691 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-10-07 11:02:17 -07:00
selsta 09f5cbbb98 build: prepare v0.18.4.3 2025-10-07 16:36:04 +02:00
j-berman 1829992970 wallet2: warn instead of throw when RingDB doesn't include spend
A reorg can end up causing an output's position in the chain to
move. Since the wallet doesn't update the RingDB on reorg, it
may refer to the output's stale position in the chain.

This seems a reasonable solution rather than introducing complex
logic to update the stale ring member's value on rerog, since
RingDB can be deprecated with FCMP++.
2025-10-06 13:25:19 -07:00
jeffro256 014f3cd0a1 cryptonote_basic: remove redundant call to get_transaction_hash() in overload
Issue noticed by DataHoarder.
2025-10-06 15:05:20 -05:00
j-berman 7b53197571 Cleaner validation (faster and saner) 2025-10-05 17:56:57 -07:00
j-berman cfc41b3bdc Daemon RPC: fix on_getblockhash error return on too high height 2025-09-29 10:56:34 -07:00
tobtoht a440e91790 Merge pull request #9901
9a45208 Daemon RPC: add max_block_count field to /getblocks.bin (j-berman)
2025-09-28 18:37:02 +00:00
tobtoht 6ee94b07df Merge pull request #10098
13e28ea simplewallet: batch address creation limit to match rpc (nahuhh)
2025-09-28 18:35:30 +00:00
tobtoht 6552aa6165 Merge pull request #10104
39c7a22 Send ZMQ miner notifications after txpool additions (WeebDataHoarder)
2025-09-28 18:34:03 +00:00
tobtoht ca58206a57 Merge pull request #10112
dd82d28 removing lza_menace seed nodes (lza_menace)
2025-09-28 18:32:24 +00:00
tobtoht be2cccf84b Merge pull request #10113
2879885 p2p: Improved peer selection with /24 subnet deduplication to disadvantage 'spy nodes' [v0.18] (rbrunner7)
2025-09-28 18:31:28 +00:00
hinto.janai 659114a7bf net_node: add hinto seed nodes 2025-09-26 19:26:55 +00:00
rbrunner7 2879885e3c p2p: Improved peer selection with /24 subnet deduplication to disadvantage 'spy nodes' [v0.18] 2025-09-26 15:40:46 +02:00