7727 Commits

Author SHA1 Message Date
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
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
lza_menace
dd82d283b2 removing lza_menace seed nodes 2025-09-26 10:25:11 +01:00
tobtoht
bbc838557e
Merge pull request #10105
f292444 remove 66.85.74.134 as seed node (Gingeropolous)
2025-09-24 20:53:32 +00:00
tobtoht
fc0ff59adf
Merge pull request #10092
00e4faf cryptonote_core: `--dns-versions-check` is deprecated (nahuhh)
2025-09-24 20:49:35 +00:00
tobtoht
6382e1e3f7
Merge pull request #10096
751061c wallet_rpc_server: allow creating more than 64 addresses at once (moneromooo-monero)
2025-09-24 20:47:59 +00:00
Gingeropolous
f292444c54 remove 66.85.74.134 as seed node
remove 66.85.74.134 as seed node. bastards doubled the price of the server.
2025-09-24 17:09:57 +00:00
WeebDataHoarder
39c7a22856
Send ZMQ miner notifications after txpool additions
Bug was introduced in c069c04ede338929c50297558fee15192aa0f67c, before this txpool additions were not notified on block addition

When receiving blocks with previously unknown conditions, miner data was sent first, but txpool add events for already-added transactions in previous block were sent afterward. Miners would then include already-mined transactions in their new templates due to receiving the mistimed txpool add event.

The fix is to send miner notifications AFTER txpool events are sent, and before normal block notifications are sent (for mining switch speed purposes)

Fixes c069c04ede338929c50297558fee15192aa0f67c / #9135
Fixes dfee15eee18a97be5a8fb9822527f98ebd1b33e9 / #7891
2025-09-24 09:22:28 +02:00
nahuhh
13e28ea6d6 simplewallet: batch address creation limit to match rpc 2025-09-22 13:56:25 +00:00
moneromooo-monero
751061c846 wallet_rpc_server: allow creating more than 64 addresses at once
it's too low a limit (at least one person mentioned having to
call create_address in a loop due to it)
2025-09-22 13:44:18 +00:00
nahuhh
00e4fafb6e cryptonote_core: --dns-versions-check is deprecated 2025-09-21 18:53:02 +00:00
tobtoht
d87edf57fc
Merge pull request #10051
f921431 checkpoints: update to a recent block height (selsta)
2025-08-21 16:29:21 +00:00
selsta
f921431f34
checkpoints: update to a recent block height 2025-08-20 18:42:13 +02:00
Lee *!* Clagett
e23b759b37 Skip ping connections in outgoing count 2025-08-19 17:16:05 -04:00
tobtoht
2987b72006
Merge pull request #10019
32f701b build: prepare v0.18.4.2 (selsta)
2025-08-05 16:09:20 +00:00
selsta
32f701b0cd
build: prepare v0.18.4.2 2025-08-01 17:25:46 +02:00
jeffro256
8f98dac4f0
wallet: deprecate wallet2::find_and_save_rings()
Rings for outgoing transactions are stored within the scanning code since the last hardfork,
so this code is largely unneccessary now.

Co-authored-by: j-berman <justinberman@protonmail.com>
2025-07-29 12:32:20 -05:00
SNeedlewoods
2e0030cba8 set do_not_relay always false in submit_multisig_main 2025-07-14 18:41:25 +02:00
tobtoht
d95cd26330
Merge pull request #9982
45152f9 rpc: return error correctly on bad key image string (jeffro256)
2025-07-13 16:52:45 +00:00
tobtoht
191a41ed3a
Merge pull request #9983
bec90df add do_not_relay option to submit_multisig_main command in simplewallet (SNeedlewoods)
2025-07-13 16:51:20 +00:00
jeffro256
1d3d30c507
crypto: check+throw for Cryptonight v1 invalid input
If `crypto::cn_slow_hash()` is called with `variant=1` and an input length of less thab 43 bytes, it triggers a program exit.
This checks first and throws an exception instead.

Thank you to ADA Logics and the MAGIC Monero Fund for reporting this!
2025-07-11 11:37:08 -05:00
jeffro256
45152f9ef0
rpc: return error correctly on bad key image string
Because of the missing `return` statement, the status is set to "OK" later on in the method when it shouldn't be.

Thank you to ADA Logics and the MAGIC Monero Fund for reporting this!
2025-07-11 11:27:12 -05:00
SNeedlewoods
bec90df7ec add do_not_relay option to submit_multisig_main command in simplewallet 2025-07-11 17:48:33 +02:00
tobtoht
3e218c2021
Merge pull request #9958
9002681 Add new dynamic fees to ZMQ (Lee Clagett)
2025-07-10 17:32:31 +00:00