Commit Graph
804 Commits
Author SHA1 Message Date
tobtoht a01b4c2a31 daemon: remove bootstrap mode 2026-07-22 20:38:20 +02:00
tobtoht 2196652cb8 Merge pull request #10663
5b34e13 src: fix formatting of copyright comments (jpk68)
2026-06-01 18:09:39 +00: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
jpk68 5b34e138d6 src: fix formatting of copyright comments 2026-05-25 20:08:02 -04:00
tobtoht 0d631acd51 Merge pull request #10241
108244c Add wire::json_writer, and use in some of ZMQ-PUB functions. (Lee *!* Clagett)
2026-05-25 18:47:39 +00:00
tobtoht 57a272240f Merge pull request #10609
758aa14 rpc: restrict get_alt_blocks_hashes (selsta)
2026-05-21 22:21:41 +00:00
Lee *!* Clagett 108244cdf5 Add wire::json_writer, and use in some of ZMQ-PUB functions. 2026-05-21 17:19:52 -04:00
tobtoht c982fe1e51 Merge pull request #9473
1aea9cc tx_pool: track sensitive flag per-tx in added_txs_by_id (j-berman)
8cecfc8 src: fix rpc limit (Navid Rahimi)
2026-05-21 19:58:24 +00:00
Navid Rahimiandjeffro256 8cecfc8d1b src: fix rpc limit
Co-authored-by: jeffro256 <jeffro256@tutanota.com>
2026-05-21 20:37:53 +01:00
tobtoht a583042133 Merge pull request #10574
f3128c6 rpc: reject invalid JSON-RPC ids in ZMQ requests (selsta)
2026-05-19 19:59:24 +00:00
tobtoht b745be7235 Merge pull request #10587
2c327aa fix spelling in comments and docs (Thomas)
2026-05-19 19:53:51 +00:00
selsta 758aa14f06 rpc: restrict get_alt_blocks_hashes 2026-05-15 23:01:58 +02:00
tobtoht 67c283c980 Merge pull request #10559
fe9b5de rpc: remove unused origin flag (selsta)
2026-05-15 20:07:00 +00:00
tobtoht fdc4f2e032 Merge pull request #10534
f991cf2 zmq: switch to RapidJSON iterative parsing (selsta)
2026-05-15 11:31:17 +00:00
Thomas 2c327aa325 fix spelling in comments and docs 2026-05-13 21:20:05 +02:00
selsta f3128c6e5a rpc: reject invalid JSON-RPC ids in ZMQ requests 2026-05-11 12:03:54 +02:00
selsta fe9b5de85f rpc: remove unused origin flag 2026-05-09 20:33:36 +02:00
selsta f991cf23d9 zmq: switch to RapidJSON iterative parsing 2026-05-07 19:53:00 +02:00
tobtoht 90fc50c371 cmake: only link Boost Chrono where needed 2026-05-06 21:24:14 +02:00
tobtoht 6fe4ba670d Merge pull request #10457
dca8e33 rpc: remove last usage of txs_as_hex (selsta)
2026-05-04 16:54:19 +00:00
tobtoht 243a442f53 Merge pull request #10503
fe3e23a daemon: clarify limitations of restricted ZMQ RPC in help text (selsta)
5d1feb5 zmq: add restricted checks to GetInfo (selsta)
2026-04-29 17:18:31 +00:00
selsta 5d1feb5996 zmq: add restricted checks to GetInfo 2026-04-29 18:54:14 +02: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
tobtoht b84aee62a4 Merge pull request #10143
4a2d6eb Daemon RPC: getblocks.bin block_ids_exclusive req param (j-berman)
2026-04-29 12:35:26 +00:00
Thomas df2b8b4bf6 rpc: fix incomplete range check in get_coinbase_tx_sum + update test 2026-04-28 21:32:12 +02:00
Jeetraj b3b9842b1b zmq: add missing restricted rpc check for get_block_headers_by_height 2026-04-27 02:18:40 +05:30
selsta dca8e339bc rpc: remove last usage of txs_as_hex 2026-04-24 23:55:58 +02:00
tobtoht a6449ced68 Merge pull request #10424
4599596 zmq: add more missing restricted rpc checks (selsta)
2026-04-24 16:08:02 +00:00
selsta 45995964e1 zmq: add more missing restricted rpc checks 2026-04-24 17:34:25 +02:00
selsta 43d84ce92c zmq: add missing restricted rpc check 2026-04-18 17:36:21 +02:00
hinto.janai 3aa793fec4 rpc: restrict add_aux_pow 2026-04-10 13:49:09 +00:00
selsta 1498737f7f zmq: add restricted rpc mode 2026-04-01 18:04:24 +02:00
Lee *!* Clagett 44869250bd Transition asio::deadline_timer to asio::steady_timer 2026-02-17 11:28:57 -05:00
tobtoht d380a6ac85 Merge pull request #10290
494a214 Enable IPv6 support for ZMQ server (jpk68)
2026-02-03 19:48:31 +00:00
jeffro256 6a99c22cbc rpc: return error gracefully on cryptonight v1 check 2026-01-31 10:14:05 -06:00
jpk68 494a2145d1 Enable IPv6 support for ZMQ server 2026-01-24 20:24:09 -05:00
jeffro256 3f964fcdb5 blockchain_db/rpc: faster is_key_image_spent
Does the following to speedup the `/is_key_image_spent` RPC endpoint:
  - Reads all on-chain key images in one LMDB read transacion
  - Uses `cryptonote_core::are_key_images_spent_in_pool()` instead of `cryptonote_core::get_pool_transactions_and_spent_keys_info()` for pool querying. This only does a LMDB read per key image if in the pool.
  - Filters known on-chain spent key images before querying for key images spent in pool

This RPC endpoint was causing major daemon slowdowns in the Carrot/FCMP++ Alpha Stressnet when using the `rescan_spent` command, especially for large wallets.
The effect was much worse if the mempool was full.
2026-01-07 00:49:44 -06:00
tobtoht ddfa2ed8fa Merge pull request #10190
1347805 rpc: remove `COMMAND_RPC_SUBMIT_RAW_TX` (hinto.janai)
2025-11-26 18:22:31 +00:00
hinto.janai 1347805434 rpc: remove COMMAND_RPC_SUBMIT_RAW_TX 2025-11-06 23:29:45 +00:00
j-berman 4a2d6eb3da Daemon RPC: getblocks.bin block_ids_exclusive req param
When the request includes block_ids, the daemon uses
find_blockchain_supplement to identify the highest block hash
passed in block_ids that the daemon also knows about, and then
serves subsequent blocks contiguous to that block.

When block_ids_skip_exclusive is false (default current
behavior), the daemon includes the highest block requested in the
response, in addition to contiguous blocks after it.

When block_ids_skip_exclusive is true (new param), the daemon
serves blocks starting from the block 1 higher than the highest
known block included in block_ids. Thus, the daemon skips the
common block known to the client and daemon. Clients can make sure
the daemon is serving expected contiguous blocks to its highest
known block by checking the first block's prev_id included in the
response, and making sure it is equivalent to the block the client
already knows about that was included in block_ids. This avoids
the daemon serving 1 extra block it does not need to serve to the
client, since the client should already know about that block.

bl
2025-10-10 01:21:52 -07:00
j-berman be79b83b4e Daemon RPC: fix on_getblockhash error return on too high height 2025-09-25 16:18:22 -07:00
j-berman a8959f2c9b Daemon RPC: rm high_height_ok field from getblocks.bin
Since current behavior on release is to ban clients with too
high a height included in the request, it seems reasonably
justified to modify that behavior to instead return a successful
response that includes the chain height and top block hash.
2025-08-06 12:45:49 -07:00
tobtoht 40cd9ba0c4 Merge pull request #9981
6131dde rpc: return error correctly on bad key image string (jeffro256)
2025-07-13 16:53:30 +00:00
jeffro256 6131ddef10 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 10:39:03 -05:00
Lee Clagett 2bce551da7 Add new dynamic fees to ZMQ 2025-06-13 17:10:17 -04:00
0xFFFC0000 d106e21b74 src: fix clangd warnings 2025-05-01 05:27:35 +00:00
tobtoht 627bb04b98 Merge pull request #9851
70fe289d8 Improve move/copy/default constructor semantics for tx and block (Lee *!* Clagett)
2025-04-23 16:14:50 +00:00
tsinghuacoder 9d4dd0ef8d chore: fix some typos
Signed-off-by: tsinghuacoder <tsinghuacoder@icloud.com>
2025-04-11 17:05:25 +08:00
Lee *!* Clagett 70fe289d82 Improve move/copy/default constructor semantics for tx and block 2025-03-21 14:02:12 -04:00
tobtoht 44523cafff Merge pull request #9135
c069c04ed blockchain sync: reduce disk writes from 2 to 1 per tx (jeffro256)
2025-03-10 16:16:18 +00:00