aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Establish Monzero Phase 0 and inactive assets baselinemonzero-phase0-assets-prototype-20260815Monzero Build System7 hours1-3/+5
|
* 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
| |
* | Daemon RPC: fix on_getblockhash error return on too high heightj-berman2025-09-291-0/+1
| |
* | Merge pull request #9901tobtoht2025-09-281-4/+5
|\ \ | |/ |/| | | 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-101-4/+5
| |
* | 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!
* Merge pull request #9740tobtoht2025-03-101-3/+1
|\ | | | | | | 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-101-3/+1
| |
* | Set response limits on http server connectionsLee *!* Clagett2025-02-141-1/+46
|/
* validate ip parameter in set_bans rpc calleversinc332025-01-141-0/+6
|
* Enforce Tx unlock_time is Zero by Relay Rule [RELEASE]jeffro2562024-04-291-0/+2
| | | | | | | | | | | | | | | | 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 #8891luigi11112023-08-171-1/+3
|\ | | | | | | 842478c core_rpc_server: return ID of submitted block (jeffro256)
| * core_rpc_server: return ID of submitted blockjeffro2562023-06-301-1/+3
| |
* | Enforce restricted # pool txs served via RPC + optimize chunked reqs ↵j-berman2023-07-091-33/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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-091-58/+132
|/ | | | [release-v0.18]
* Add a size limit for tx_extra in tx pooltevador2023-03-181-0/+2
|
* wallet2: check wallet compatibility with daemon's hard fork versionj-berman2022-09-121-0/+4
|
* 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-101-1/+11
| | | | | | 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-061-1/+1
|\ | | | | | | da9aa1f Copyright: Update to 2022 (mj-xmr)
| * Copyright: Update to 2022mj-xmr2022-03-041-1/+1
| |
* | Merge pull request #7937luigi11112022-04-061-14/+36
|\ \ | | | | | | | | | 83bb027 Make RPC server functions that read db thread safe (j-berman)
| * | Make RPC server functions that read db thread safej-berman2022-04-051-14/+36
| | | | | | | | | | | | | | | | | | - grab an lmdb db_rtxn_guard to ensure consistent data from the db - fixed on_getblockhash error resp when requested height >= blockchain height - left functions that read shared memory untouched for now
* | | rpc: add explicit restricted flag to /get_infotobtoht2022-02-071-0/+1
| |/ |/|
* | Merge pull request #7943luigi11112021-11-301-2/+2
|\ \ | | | | | | | | | 3a90be4 rpc: don't set error code as status string (selsta)
| * | rpc: don't set error code as status stringselsta2021-09-151-2/+2
| |/
* | Merge pull request #8083luigi11112021-11-261-0/+15
|\ \ | | | | | | | | | e8e507f rpc: fix DoS vector in get_output_distribution (moneromooo-monero)
| * | rpc: fix DoS vector in get_output_distributionmoneromooo-monero2021-10-241-0/+15
| | | | | | | | | | | | | | | This will prevent people spending old pre-rct outputs using a stranger's node, which may be a good thing
* | | Add calcpow RPCHoward Chu2021-11-201-0/+37
|/ / | | | | | | Calculate PoW hash for a block candidate
* | Merge pull request #7960luigi11112021-10-111-2/+14
|\ \ | | | | | | | | | 2e8936f rpc: Fix get_transactions failing when not found (Nathan Dorfman)
| * | rpc: Fix get_transactions failing when not foundNathan Dorfman2021-09-201-2/+14
| |/
* | Merge pull request #7891luigi11112021-09-231-0/+37
|\ \ | |/ |/| | | dfee15e RPC and ZeroMQ APIs to support p2pool (SChernykh)
| * RPC and ZeroMQ APIs to support p2poolSChernykh2021-09-111-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the following: - "get_miner_data" to RPC API - "json-miner-data" to ZeroMQ subscriber contexts Both provide the necessary data to create a custom block template. They are used by p2pool. Data provided: - major fork version - current height - previous block id - RandomX seed hash - network difficulty - median block weight - coins mined by the network so far - mineable mempool transactions
* | Merge pull request #7616luigi11112021-09-091-2/+4
|\ \ | |/ |/| | | 4ced092 daemon: allow proxy configuration (anon, selsta, tobtoht)
| * daemon: allow proxy configurationanon2021-08-201-2/+4
| | | | | | | | | | Co-authored-by: selsta <selsta@sent.at> Co-authored-by: tobtoht <thotbot@protonmail.com>
* | Merge pull request #7662luigi11112021-06-101-0/+2
|\ \ | |/ |/| | | 4da1112 rpc: send confirmations in get_transactions result (moneromooo-monero)
| * rpc: send confirmations in get_transactions resultmoneromooo-monero2021-04-151-0/+2
| | | | | | | | | | if the wallet does it, it would get a wrong result (possibly even negative) if its local chain is not synced up to the daemon's yet
* | Merge pull request #7384luigi11112021-04-161-23/+29
|\ \ | | | | | | | | | 494f2e1 rpc: fix some error return codes/status (moneromooo-monero)
| * | rpc: fix some error return codes/statusmoneromooo-monero2021-02-151-23/+29
| | | | | | | | | | | | | | | Some RPC return an error string in status, and the code must return true on error (with a status string).
* | | Merge pull request #7002luigi11112021-04-161-0/+1
|\ \ \ | |_|/ |/| | | | | 673c6d2 Reduce compilation time of epee/portable_storage_template_helper.h (mj-xmr)
| * | Reduce compilation time of epee/portable_storage_template_helper.hmj-xmr2021-03-281-0/+1
| | |
* | | Merge pull request #7326luigi11112021-03-291-10/+25
|\ \ \ | |/ / |/| | | | | cf266d6 bootstrap_daemon: proxy configuration support (xiphon)
| * | bootstrap_daemon: proxy configuration supportxiphon2021-01-211-10/+25
| | |
* | | Fix monerod --rpc-ssl disabledLee Clagett2021-01-281-1/+1
| | |
* | | Merge pull request #7366luigi11112021-03-201-2/+23
|\ \ \ | | | | | | | | | | | | 9867a91 Store RPC SSL key/cert for consistent authentication between runs (Lee Clagett)