aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
Commit message (Collapse)AuthorAgeFilesLines
* Establish Monzero Phase 0 and inactive assets baselinemonzero-phase0-assets-prototype-20260815Monzero Build System14 hours2-6/+10
|
* Merge pull request #10611tobtoht2026-06-301-1/+1
|\ | | | | | | | | | | | | 7c543c8 daemon: fix print_cn command when 0 connections (jeffro256) 528cbac Show IPv6 addresses in connection list (Guillaume Le Vaillant) ACKs: tobtoht, j-berman
| * Show IPv6 addresses in connection listGuillaume Le Vaillant2026-05-161-1/+1
| |
* | net: cap aggregate ZMQ receive sizeselsta2026-06-101-2/+2
| |
* | Merge pull request #10543tobtoht2026-06-091-1/+1
|\ \ | | | | | | | | | 878c781 zmq: apply restricted-mode privacy filtering to get_transaction_pool (greatjourney589)
| * | zmq: apply restricted-mode privacy filtering to get_transaction_poolgreatjourney5892026-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an include_sensitive parameter to tx_memory_pool::get_pool_for_rpc (and its core passthrough), mirroring the include_sensitive_data parameter on the HTTP analog get_transactions_and_spent_keys_info. When false, receive_time and last_relayed_time are zeroed using the same masking already applied on the HTTP path. The ZMQ handler in daemon_handler.cpp passes !m_restricted, so --restricted-zmq-rpc callers now receive the same privacy-filtered view as restricted HTTP callers instead of the unfiltered timing metadata they previously got. Stem-phase txs continue to be excluded regardless (relay_category::broadcasted filter unchanged). Refs #10529.
* | | Merge pull request #10610tobtoht2026-05-211-1/+1
|\ \ \ | | | | | | | | | | | | 7de1758 rpc: restrict get_alt_blocks_hashes (selsta)
| * | | rpc: restrict get_alt_blocks_hashesselsta2026-05-151-1/+1
| | |/ | |/|
* | | Merge pull request #10575tobtoht2026-05-191-0/+12
|\ \ \ | |/ / |/| | | | | a16f514 rpc: reject invalid JSON-RPC ids in ZMQ requests (selsta)
| * | rpc: reject invalid JSON-RPC ids in ZMQ requestsselsta2026-05-111-0/+12
| |/
* / zmq: switch to RapidJSON iterative parsingselsta2026-05-071-1/+1
|/
* zmq: add restricted checks to GetInfoselsta2026-04-291-9/+9
|
* zmq: add missing restricted rpc check for get_block_headers_by_heightJeetraj2026-04-271-0/+8
|
* zmq: add more missing restricted rpc checksselsta2026-04-241-0/+47
|
* zmq: add missing restricted rpc checkselsta2026-04-181-0/+7
|
* Merge pull request #10409tobtoht2026-04-151-1/+10
|\ | | | | | | 644a738 rpc: restrict `add_aux_pow` (hinto.janai)
| * rpc: restrict `add_aux_pow`hinto.janai2026-04-101-1/+10
| |
* | zmq: add restricted rpc modeselsta2026-04-015-4/+139
| |
* | Daemon RPC: fix on_getblockhash error return on too high heightj-berman2025-09-291-0/+1
| |
* | Merge pull request #9901tobtoht2025-09-283-5/+10
|\ \ | |/ |/| | | 9a45208 Daemon RPC: add max_block_count field to /getblocks.bin (j-berman)
| * Daemon RPC: add max_block_count field to /getblocks.binj-berman2025-04-103-5/+10
| |
* | rpc: return error correctly on bad key image stringjeffro2562025-07-111-1/+4
| | | | | | | | | | | | 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!
* | Add new dynamic fees to ZMQLee Clagett2025-06-133-1/+9
|/
* Merge pull request #9740tobtoht2025-03-103-6/+2
|\ | | | | | | 008ba966d blockchain sync: reduce disk writes from 2 to 1 per tx (jeffro256)
| * blockchain sync: reduce disk writes from 2 to 1 per txjeffro2562025-03-103-6/+2
| |
* | Fix build with boost ASIO 0.87. Support boost 1.66+Lee *!* Clagett2025-02-141-4/+4
| |
* | Set response limits on http server connectionsLee *!* Clagett2025-02-142-2/+50
| |
* | epee: update 'http_server_handlers_map2.h' macros to use fully qualified namesJeffrey Ryan2025-02-131-4/+0
|/ | | | quick patch which fixes the issue where if you use some macros from `http_server_handlers_map2.h` you have to be in the `epee` namespace or it doesn't compile. Now can remove `using namespace epee;` from header file `core_rpc_server.h`, which caused a couple of name qualifying mistakes
* validate ip parameter in set_bans rpc calleversinc332025-01-141-0/+6
|
* Fix ZMQ DaemonInfo:Lee *!* Clagett2024-06-242-0/+3
| | | | | | * top_block_hash was never set in handler * wide_difficulty was never sent in JSON * wide_cumulative_difficulty was never sent in JSON
* Enforce Tx unlock_time is Zero by Relay Rule [RELEASE]jeffro2562024-04-293-1/+15
| | | | | | | | | | | | | | | | Related to https://github.com/monero-project/research-lab/issues/78 Added a relay rule that enforces the `unlock_time` field is equal to 0 for non-coinbase transactions. UIs changed: * Removed `locked_transfer` and `locked_sweep_all` commands from `monero-wallet-cli` APIs changed: * Removed `unlock_time` parameters from `wallet2` transfer methods * Wallet RPC transfer endpoints send error codes when requested unlock time is not 0 * Removed `unlock_time` parameters from `construct_tx*` cryptonote core functions @tobtoht: undo rebase changes tx.dsts -> tx_dsts
* Merge pull request #9080luigi11112024-01-181-0/+201
|\ | | | | | | 47d8899 Fix missing checks for IsObject in ZMQ jsonrpc reading (Lee Clagett)
| * Fix missing checks for IsObject in ZMQ jsonrpc readingLee Clagett2023-11-281-0/+201
| |
* | Fix EAGAIN bug in ZMQ-RPC/ZMQ-PUBLee *!* Clagett2023-11-041-6/+15
|/
* Merge pull request #8891luigi11112023-08-172-2/+7
|\ | | | | | | 842478c core_rpc_server: return ID of submitted block (jeffro256)
| * core_rpc_server: return ID of submitted blockjeffro2562023-06-302-2/+7
| |
* | Enforce restricted # pool txs served via RPC + optimize chunked reqs ↵j-berman2023-07-092-37/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [release-v0.18] - `/getblocks.bin` respects the `RESTRICTED_TX_COUNT` (=100) when returning pool txs via a restricted RPC daemon. - A restricted RPC daemon includes a max of `RESTRICTED_TX_COUNT` txs in the `added_pool_txs` field, and returns any remaining pool hashes in the `remaining_added_pool_txids` field. The client then requests the remaining txs via `/gettransactions` in chunks. - `/gettransactions` no longer does expensive no-ops for ALL pool txs if the client requests a subset of pool txs. Instead it searches for the txs the client explicitly requests. - Reset `m_pool_info_query_time` when a user: (1) rescans the chain (so the wallet re-requests the whole pool) (2) changes the daemon their wallets points to (a new daemon would have a different view of the pool) - `/getblocks.bin` respects the `req.prune` field when returning pool txs. - Pool extension fields in response to `/getblocks.bin` are optional with default 0'd values.
* | wallet2, RPC: Optimize RPC calls for periodic refresh from 3 down to 1 call ↵rbrunner72023-07-092-58/+171
|/ | | | [release-v0.18]
* Add a size limit for tx_extra in tx pooltevador2023-03-182-1/+5
|
* Refactored rx-slow-hash.cSChernykh2022-12-141-3/+1
| | | | | | | | | - Straight-forward call interface: `void rx_slow_hash(const char *seedhash, const void *data, size_t length, char *result_hash)` - Consensus chain seed hash is now updated by calling `rx_set_main_seedhash` whenever a block is added/removed or a reorg happens - `rx_slow_hash` will compute correct hash no matter if `rx_set_main_seedhash` was called or not (the only difference is performance) - New environment variable `MONERO_RANDOMX_FULL_MEM` to force use the full dataset for PoW verification (faster block verification) - When dataset is used for PoW verification, dataset updates don't stall other threads (verification is done in light mode then) - When mining is running, PoW checks now also use dataset for faster verification
* wallet2: check wallet compatibility with daemon's hard fork versionj-berman2022-09-122-1/+24
|
* rpc: skip bootstrap nodes that are lower than last checkpointselsta2022-09-061-0/+6
|
* Revert "Merge pull request #7937"j-berman2022-06-131-36/+14
| | | | | This reverts commit 50410d1f7d04bf60053f2263410c39e81d3ddad1, reversing changes made to d054def63f9b8950fe20b2d8e841f5a9ae09418f.
* Give better error messages when missing SSL filesJeffrey Ryan2022-05-051-5/+16
| | | | | While copying my data dir to another drive, I missed copying the rpc_ssl.key file b/c of the file permissions. This change will give a much more clear, descriptive error in that scenario.
* add a sanity check to RPC input data sizemoneromooo-monero2022-04-211-0/+2
| | | | reported by m31007
* Add Include statementsJeffrey2022-04-181-0/+1
|
* Fee changes from ArticMinemoneromooo-monero2022-04-102-1/+13
| | | | | | https://github.com/ArticMine/Monero-Documents/blob/master/MoneroScaling2021-02.pdf with a change to use 1.7 instead of 2.0 for the max long term increase rate
* Merge pull request #8197luigi11112022-04-0631-31/+35
|\ | | | | | | da9aa1f Copyright: Update to 2022 (mj-xmr)
| * Copyright: Update to 2022mj-xmr2022-03-0431-31/+35
| |
* | Merge pull request #7937luigi11112022-04-061-14/+36
|\ \ | | | | | | | | | 83bb027 Make RPC server functions that read db thread safe (j-berman)