aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Establish Monzero Phase 0 and inactive assets baselinemonzero-phase0-assets-prototype-20260815Monzero Build System5 hours1-11/+11
|
* Merge pull request #10590tobtoht2026-06-031-3/+3
|\ | | | | | | 6db72c4 wallet_rpc_server: preserve payment ID when editing address book (selsta)
| * wallet_rpc_server: preserve payment ID when editing address bookselsta2026-05-131-3/+3
| |
* | Merge pull request #10615tobtoht2026-05-231-6/+0
|\ \ | | | | | | | | | 6d36b19 wallet_rpc_server: remove unused finalize_multisig endpoint (selsta)
| * | wallet_rpc_server: remove unused finalize_multisig endpointselsta2026-05-191-6/+0
| | |
* | | wallet: fix RPC describe transfer source entryjeffro2562026-05-131-2/+3
|/ /
* / wallet_rpc_server: add missing trusted daemon checkselsta2026-05-071-0/+6
|/
* Merge pull request #10433tobtoht2026-04-241-4/+19
|\ | | | | | | b635e67 wallet_rpc_server: fix ssl_allowed_fingerprints hex parsing (selsta)
| * wallet_rpc_server: fix ssl_allowed_fingerprints hex parsingselsta2026-04-211-4/+19
| |
* | wallet_rpc_server: restrict relay_txselsta2026-04-211-0/+7
|/
* Merge pull request #10379tobtoht2026-04-091-130/+103
|\ | | | | | | e1adf39 fix: return early in sensitive methods for --restricted-rpc (SNeedlewoods)
| * fix: return early in sensitive methods for --restricted-rpcSNeedlewoods2026-04-071-130/+103
| |
* | Merge pull request #10402tobtoht2026-04-081-10/+13
|\ \ | | | | | | | | | 7b1e9ca multisig: add flag to skip refresh after multisig import (woodser)
| * | multisig: add flag to skip refresh after multisig importwoodser2026-04-081-10/+13
| |/
* / wallet: add source info to describe_transfer RPCjeffro2562026-03-241-3/+10
|/
* wallet_rpc_server: allow creating more than 64 addresses at oncemoneromooo-monero2025-09-221-2/+2
| | | | | it's too low a limit (at least one person mentioned having to call create_address in a loop due to it)
* Merge pull request #9954tobtoht2025-07-101-0/+25
|\ | | | | | | | | | | | | 1da19da wallet: refactor subaddress expansion & add to transfer test (jeffro256) e23d51b wallet: improve lookahead logic & make rpc persistent (Justin Berman) 678f5da wallet: create set_subaddress_lookahead wallet rpc endpoint (benevanoff) 8f5a7b0 wallet: ensure subaddress keys table is at least size of requested lookahead (benevanoff)
| * wallet: improve lookahead logic & make rpc persistentJustin Berman2025-07-071-4/+17
| |
| * wallet: create set_subaddress_lookahead wallet rpc endpointbenevanoff2025-07-071-0/+12
| |
* | wallet:set refresh interval to default when hitting tip of chaintzadiko2025-06-071-10/+8
| |
* | wallet: fix monero-wallet-rpc ignoring calls during synctzadiko2025-06-071-13/+68
|/
* add wallet rpc call to get default fee prioritywoodser2025-02-151-0/+23
|
* Set response limits on http server connectionsLee *!* Clagett2025-02-141-1/+26
|
* Merge pull request #8617tobtoht2025-02-131-0/+162
|\ | | | | | | e44e8b164 wallet: background sync with just the view key (j-berman)
| * wallet: background sync with just the view keyj-berman2024-05-241-0/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - When background syncing, the wallet wipes the spend key from memory and processes all new transactions. The wallet saves all receives, spends, and "plausible" spends of receives the wallet does not know key images for. - When background sync disabled, the wallet processes all background synced txs and then clears the background sync cache. - Adding "plausible" spends to the background sync cache ensures that the wallet does not need to query the daemon to see if any received outputs were spent while background sync was enabled. This would harm privacy especially for users of 3rd party daemons. - To enable the feature in the CLI wallet, the user can set background-sync to reuse-wallet-password or custom-background-password and the wallet automatically syncs in the background when the wallet locks, then processes all background synced txs when the wallet is unlocked. - The custom-background-password option enables the user to open a distinct background wallet that only has a view key saved and can be opened/closed/synced separately from the main wallet. When the main wallet opens, it processes the background wallet's cache. - To enable the feature in the RPC wallet, there is a new `/setup_background_sync` endpoint. - HW, multsig and view-only wallets cannot background sync.
* | Merge pull request #9614luigi11112024-12-231-1/+1
|\ \ | | | | | | | | | 20a1c00 wallet: report exact reason for open_wallet failure. (0xFFFC0000)
| * | wallet: report exact reason for open_wallet failure.0xFFFC00002024-12-131-1/+1
| | |
* | | Daemon-specific proxy for the wallet-rpc.0xFFFC00002024-11-231-1/+8
|/ / | | | | | | | | | | | | 1. Daemon-specific proxy is exclusive with global proxy (--proxy). 2. If you set global proxy (--proxy) you cannot set daemon-specific proxy. 3. If you don't set global proxy, you can set proxy (or not set) proxy for each daemon connection with the proxy field in jsonrpc to the wallet-rpc.
* / build: fix build with Boost 1.85 and remove instances of viewkey logging ↵jeffro2562024-09-101-2/+2
|/ | | | | | | | | | | [RELEASE] 1. Use std::is_standard_layout and std::is_trivially_copyable instead of std::is_pod for KV byte-wise serialization, which fixes compile issue for Boost UUIDs 2. Removed reimplementation of std::hash for boost::uuids::uuid 3. Removed << operator overload for crypto::secret_key 4. Removed instances in code where private view key was dumped to the log in plaintext Release version of #9450, containing C++14 modified assertions
* Merge pull request #9311luigi11112024-05-201-4/+28
|\ | | | | | | dd47d03 Enforce Tx unlock_time is Zero by Relay Rule [RELEASE] (jeffro256)
| * Enforce Tx unlock_time is Zero by Relay Rule [RELEASE]jeffro2562024-04-291-4/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Add drop_and_recreate in privatefile class.0xFFFC00002024-04-231-1/+1
|/ | | | When creating a private file we need to delete the file if exist.
* wallet: feature: transfer amount with fee includedjeffro2562024-02-201-8/+14
| | | | | | | | | | | | | | | | | To transfer ~5 XMR to an address such that your balance drops by exactly 5 XMR, provide a `subtractfeefrom` flag to the `transfer` command. For example: transfer 76bDHojqFYiFCCYYtzTveJ8oFtmpNp3X1TgV2oKP7rHmZyFK1RvyE4r8vsJzf7SyNohMnbKT9wbcD3XUTgsZLX8LU5JBCfm 5 subtractfeefrom=all If my walet balance was exactly 30 XMR before this transaction, it will be exactly 25 XMR afterwards and the destination address will receive slightly less than 5 XMR. You can manually select which destinations fund the transaction fee and which ones do not by providing the destination index. For example: transfer 75sr8AAr... 3 74M7W4eg... 4 7AbWqDZ6... 5 subtractfeefrom=0,2 This will drop your balance by exactly 12 XMR including fees and will spread the fee cost proportionally (3:5 ratio) over destinations with addresses `75sr8AAr...` and `7AbWqDZ6...`, respectively. Disclaimer: This feature was paid for by @LocalMonero.
* wallet2: fix refresh function parametersselsta2023-10-011-1/+1
| | | | max_blocks is last on master branch
* wallet_rpc_server: chunk refresh to keep responding to RPC while refreshingmoneromooo-monero2023-08-171-2/+6
|
* wallet_rpc_server: add --no-initial-sync flag for quicker network bindingmoneromooo-monero2023-08-171-1/+5
|
* Merge pull request #8942luigi11112023-08-171-3/+30
|\ | | | | | | 78348bc wallet-rpc: restore from multisig seed (jeffro256)
| * wallet-rpc: restore from multisig seedjeffro2562023-08-101-3/+30
| |
* | Enforce restricted # pool txs served via RPC + optimize chunked reqs ↵j-berman2023-07-091-1/+3
|/ | | | | | | | | | | | | | | | | | | | | | [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: fix rescanning tx via scan_txj-berman2023-03-131-2/+6
| | | | | | | | | | | | | | | | | - Detach & re-process txs >= lowest scan height - ensures that if a user calls scan_tx(tx1) after scanning tx2, the wallet correctly processes tx1 and tx2 - if a user provides a tx with a height higher than the wallet's last scanned height, the wallet will scan starting from that tx's height - scan_tx requires trusted daemon iff need to re-process existing txs: in addition to querying a daemon for txids, if a user provides a txid of a tx with height *lower* than any *already* scanned txs in the wallet, then the wallet will also query the daemon for all the *higher* txs as well. This is likely unexpected behavior to a caller, and so to protect a caller from revealing txid's to an untrusted daemon in an unexpected way, require the daemon be trusted.
* add an option to force-update multisig key exchange under some circumstanceskoe2022-09-211-8/+1
|
* allow exporting outputs in chunksmoneromooo-monero2022-09-071-1/+1
| | | | | this will make it easier huge wallets to do so without hitting random limits (eg, max string size in node).
* disable multisig by defaultmoneromooo-monero2022-05-171-0/+33
| | | | | | | | | There are vulnerabilities in multisig protocol if the parties do not trust each other, and while there is a patch for it, it has not been throroughly reviewed yet, so it is felt safer to disable multisig by default for now. If all parties in a multisig setup trust each other, then it is safe to enable multisig.
* Merge pull request #8220luigi11112022-05-101-1/+2
|\ | | | | | | 0d6ecb1 multisig: add post-kex verification round to check that all participants have completed the multisig address (koe)
| * multisig: add post-kex verification round to check that all participants ↵koe2022-04-291-1/+2
| | | | | | | | have completed the multisig address
* | Merge pull request #8215luigi11112022-04-061-2/+10
|\ \ | | | | | | | | | d1f1947 wallet_rpc_server: support regex for get_accounts tag (reemuru)
| * | wallet_rpc_server: support regex for get_accounts tagreemuru2022-03-131-2/+10
| |/ | | | | | | | | | | | | | | This commit adds a 'regexp' boolean field to the get_accounts request. The flag is set to false by default and maintains backwards compatibility. When set to true the user can search tags by regular expression filters. An additional error message was added for failed regular expression searches. Bump minor version to 25.
* | Merge pull request #8213luigi11112022-04-061-6/+0
|\ \ | | | | | | | | | 7dcfccb wallet_rpc_server: fix make_integrated_address with no payment id (moneromooo-monero)
| * | wallet_rpc_server: fix make_integrated_address with no payment idmoneromooo-monero2022-03-111-6/+0
| |/
* / Copyright: Update to 2022mj-xmr2022-03-041-1/+1
|/